public static class ClassInfoScanner.DefaultScanBehaviour extends Object implements ClassInfoScanner.ScanBehaviour
| Constructor and Description |
|---|
ClassInfoScanner.DefaultScanBehaviour() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
mergeAnnotations(Class<? extends Annotation> annotated,
Class<? extends Annotation> annotation)
If true it will merge applicable annotations from specified annotation class to list of property annotations
|
boolean |
useParent(ClassInfo classInfo)
Decide to use or not property information from parent class.
|
boolean |
useProperty(PropertyInfo propertyInfo)
Check what property is applicable and should be included to properties map.
|
public ClassInfoScanner.DefaultScanBehaviour()
public boolean useProperty(PropertyInfo propertyInfo)
ClassInfoScanner.ScanBehaviouruseProperty in interface ClassInfoScanner.ScanBehaviourpropertyInfo - property info with all info filled except nested class infopublic boolean useParent(ClassInfo classInfo)
ClassInfoScanner.ScanBehaviouruseParent in interface ClassInfoScanner.ScanBehaviourclassInfo - current class info.public boolean mergeAnnotations(Class<? extends Annotation> annotated, Class<? extends Annotation> annotation)
ClassInfoScanner.ScanBehaviourmergeAnnotations in interface ClassInfoScanner.ScanBehaviourCopyright © 2016. All rights reserved.