Module nl.jqno.equalsverifier
Class AnnotationCacheBuilder
java.lang.Object
nl.jqno.equalsverifier.internal.reflection.annotations.AnnotationCacheBuilder
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAnnotationCacheBuilder(Annotation[] supportedAnnotations, Set<String> ignoredAnnotations) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddArrayProperties(Object val, String name, AnnotationProperties props) private voidaddEnumProperties(Object val, String name, AnnotationProperties props) voidbuild(Class<?> type, AnnotationCache cache) private AnnotationPropertiesbuildAnnotationProperties(net.bytebuddy.description.annotation.AnnotationDescription annotation) private voidcacheSupportedAnnotations(net.bytebuddy.description.annotation.AnnotationDescription annotation, Set<Class<?>> types, AnnotationCache cache, Consumer<Annotation> addToCache, boolean inheriting) private booleanmatches(net.bytebuddy.description.annotation.AnnotationDescription foundAnnotation) private booleanmatches(net.bytebuddy.description.annotation.AnnotationDescription foundAnnotation, Annotation supportedAnnotation) private voidvisitClass(Set<Class<?>> types, AnnotationCache cache, net.bytebuddy.description.type.TypeDescription typeDescription, boolean inheriting) private voidvisitFields(Set<Class<?>> types, AnnotationCache cache, net.bytebuddy.description.type.TypeDescription typeDescription, boolean inheriting) private voidvisitOuterClasses(Class<?> type, AnnotationCache cache, net.bytebuddy.pool.TypePool pool) private voidvisitPackage(Class<?> type, AnnotationCache cache, net.bytebuddy.pool.TypePool pool) private voidvisitSuperclasses(Class<?> type, AnnotationCache cache, net.bytebuddy.pool.TypePool pool) private voidvisitType(Set<Class<?>> types, AnnotationCache cache, net.bytebuddy.description.type.TypeDescription typeDescription, boolean inheriting)
-
Field Details
-
supportedAnnotations
-
partialAnnotationNames
-
ignoredAnnotations
-
-
Constructor Details
-
AnnotationCacheBuilder
-
-
Method Details
-
build
-
visitType
private void visitType(Set<Class<?>> types, AnnotationCache cache, net.bytebuddy.description.type.TypeDescription typeDescription, boolean inheriting) -
visitSuperclasses
private void visitSuperclasses(Class<?> type, AnnotationCache cache, net.bytebuddy.pool.TypePool pool) -
visitOuterClasses
private void visitOuterClasses(Class<?> type, AnnotationCache cache, net.bytebuddy.pool.TypePool pool) -
visitPackage
-
visitClass
private void visitClass(Set<Class<?>> types, AnnotationCache cache, net.bytebuddy.description.type.TypeDescription typeDescription, boolean inheriting) -
visitFields
private void visitFields(Set<Class<?>> types, AnnotationCache cache, net.bytebuddy.description.type.TypeDescription typeDescription, boolean inheriting) -
cacheSupportedAnnotations
private void cacheSupportedAnnotations(net.bytebuddy.description.annotation.AnnotationDescription annotation, Set<Class<?>> types, AnnotationCache cache, Consumer<Annotation> addToCache, boolean inheriting) -
matches
private boolean matches(net.bytebuddy.description.annotation.AnnotationDescription foundAnnotation) -
matches
private boolean matches(net.bytebuddy.description.annotation.AnnotationDescription foundAnnotation, Annotation supportedAnnotation) -
buildAnnotationProperties
private AnnotationProperties buildAnnotationProperties(net.bytebuddy.description.annotation.AnnotationDescription annotation) -
addEnumProperties
-
addArrayProperties
-