use of siena.core.InheritFilter in project siena by mandubian.
the class ClassInfo method scanClassHierarchy.
private static void scanClassHierarchy(Class<?> cl, List<Class<?>> classH, Set<String> removedFields) {
while (cl != null) {
classH.add(0, cl);
// add exceptFields
InheritFilter iFilter = cl.getAnnotation(InheritFilter.class);
if (iFilter != null) {
String[] efs = iFilter.removedFields();
for (String ef : efs) {
removedFields.add(ef);
}
}
cl = cl.getSuperclass();
}
}
Aggregations