Skip to content

Commit

Permalink
Solve JSON serialization exception (#682)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehutch committed May 24, 2022
1 parent 395b02c commit aa0af0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/io/github/classgraph/ClassInfo.java
Expand Up @@ -142,7 +142,7 @@ public class ClassInfo extends ScanResultObject implements Comparable<ClassInfo>
AnnotationParameterValueList annotationDefaultParamValues;

/** The type annotation decorators for the {@link ClassTypeSignature} instance. */
List<ClassTypeAnnotationDecorator> typeAnnotationDecorators;
transient List<ClassTypeAnnotationDecorator> typeAnnotationDecorators;

/**
* Names of classes referenced by this class in class refs and type signatures in the constant pool of the
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/classgraph/FieldInfo.java
Expand Up @@ -78,7 +78,7 @@ public class FieldInfo extends ScanResultObject implements Comparable<FieldInfo>
AnnotationInfoList annotationInfo;

/** The type annotation decorators for the {@link TypeSignature} instance of this field. */
private List<TypeAnnotationDecorator> typeAnnotationDecorators;
private transient List<TypeAnnotationDecorator> typeAnnotationDecorators;

// -------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/classgraph/MethodInfo.java
Expand Up @@ -104,7 +104,7 @@ public class MethodInfo extends ScanResultObject implements Comparable<MethodInf
private boolean hasBody;

/** The type annotation decorators for the {@link MethodTypeSignature} instance. */
private List<MethodTypeAnnotationDecorator> typeAnnotationDecorators;
private transient List<MethodTypeAnnotationDecorator> typeAnnotationDecorators;

private String[] thrownExceptionNames;

Expand Down

0 comments on commit aa0af0e

Please sign in to comment.