/** * Get the names of interface classes found during the scan. * * @return the sorted list of names of interface classes found during the scan, or the empty list if none. */ static List<String> getNamesOfAllInterfaceClasses(final ScanSpec scanSpec, final Set<ClassInfo> allClassInfo) { return getClassNames(filterClassInfo(allClassInfo, /* removeExternalClassesIfStrictWhitelist = */ true, scanSpec, ClassType.IMPLEMENTED_INTERFACE)); }
/** * Get the names of subinterfaces of this interface. * * @return the sorted list of names of subinterfaces of this interface, or the empty list if none. */ public List<String> getNamesOfSubinterfaces() { return getClassNames(getSubinterfaces()); }
/** * Get the names of direct subinterfaces of this interface. * * @return the sorted list of names of direct subinterfaces of this interface, or the empty list if none. */ public List<String> getNamesOfDirectSubinterfaces() { return getClassNames(getDirectSubinterfaces()); }
/** * Get the interfaces implemented by this standard class, or by one of its superclasses. * * @return the set of interfaces implemented by this standard class, or by one of its superclasses. Returns the * empty list if none. */ public List<String> getNamesOfImplementedInterfaces() { return getClassNames(getImplementedInterfaces()); }
/** * Get the names of direct superinterfaces of this interface. * * @return the sorted list of names of direct superinterfaces of this interface, or the empty list if none. */ public List<String> getNamesOfDirectSuperinterfaces() { return getClassNames(getDirectSuperinterfaces()); }
/** * Get the names of classes that implement this interface, and the names of their subclasses. * * @return the sorted list of names of classes implementing this interface, or the empty list if none. */ public List<String> getNamesOfClassesImplementing() { return getClassNames(getClassesImplementing()); }
/** * Get the names of standard classes and non-annotation interfaces that are annotated by this annotation. . * * @return the sorted list of names of ClassInfo objects for standard classes and non-annotation interfaces that * are annotated by the annotation corresponding to this ClassInfo class, or the empty list if none. */ public List<String> getNamesOfClassesWithAnnotation() { return getClassNames(getClassesWithAnnotation()); }
/** * Get the names of annotations and meta-annotations on this annotation class. * * @return the set of annotations and meta-annotations, if this is an annotation class, or the empty list if * none (or if this is not an annotation class). */ public List<String> getNamesOfMetaAnnotations() { return getClassNames(getMetaAnnotations()); }
/** * Get the names of annotations that have this meta-annotation. * * @return the sorted list of names of annotations that have this meta-annotation, or the empty list if none. */ public List<String> getNamesOfAnnotationsWithMetaAnnotation() { return getClassNames(getAnnotationsWithMetaAnnotation()); }
/** * Get the names of annotations that have this direct meta-annotation. * * @return the sorted list of names of annotations that have this direct meta-annotation, or the empty list if * none. */ public List<String> getNamesOfAnnotationsWithDirectMetaAnnotation() { return getClassNames(getAnnotationsWithDirectMetaAnnotation()); }
/** * Get the names of direct subclasses of this class. * * @return the sorted list of names of direct subclasses of this class, or the empty list if none. */ public List<String> getNamesOfDirectSubclasses() { return getClassNames(getDirectSubclasses()); }
/** * Get the names of direct superclasses of this class. * * <p> * Typically the returned list will contain zero or one direct superclass name(s), but may contain more than one * direct superclass name in the case of Scala mixins. * * @return the direct superclasses of this class, or the empty set if none. */ public List<String> getNamesOfDirectSuperclasses() { return getClassNames(getDirectSuperclasses()); }
/** * Get the names of superinterfaces of this interface. * * @return the sorted list of names of superinterfaces of this interface, or the empty list if none. */ public List<String> getNamesOfSuperinterfaces() { return getClassNames(getSuperinterfaces()); }
/** * Get the interfaces directly implemented by this standard class, or by one of its superclasses. * * @return the set of interfaces directly implemented by this standard class, or by one of its superclasses. * Returns the empty list if none. */ public List<String> getNamesOfDirectlyImplementedInterfaces() { return getClassNames(getDirectlyImplementedInterfaces()); }
/** * Get the names of all annotation classes found during the scan. * * @return the sorted list of names of annotation classes found during the scan, or the empty list if none. */ static List<String> getNamesOfAllAnnotationClasses(final ScanSpec scanSpec, final Set<ClassInfo> allClassInfo) { return getClassNames(filterClassInfo(allClassInfo, /* removeExternalClassesIfStrictWhitelist = */ true, scanSpec, ClassType.ANNOTATION)); }
/** * Get the names of method annotations or meta-annotations on this class. * * @return the sorted list of names of method annotations or meta-annotations on this class, or the empty list * if none. */ public List<String> getNamesOfMethodAnnotations() { return getClassNames(getMethodAnnotations()); }
/** * Get the names of field annotations on this class. * * @return the sorted list of names of field annotations on this class, or the empty list if none. */ public List<String> getNamesOfFieldAnnotations() { return getClassNames(getFieldAnnotations()); }
/** * Returns the names of the containing outer classes, for inner classes. Note that all containing outer classes * are returned, not just the innermost containing outer class. Returns the empty list if this is not an inner * class. * * @return The name of containing outer classes. */ public List<String> getOuterClassName() { return getClassNames(getOuterClasses()); }
/** * Get the names of standard classes or non-annotation interfaces that are directly annotated with this * annotation. * * @return the sorted list of names of standard classes or non-annotation interfaces that are directly annotated * with this annotation, or the empty list if none. */ public List<String> getNamesOfClassesWithDirectAnnotation() { return getClassNames(getClassesWithDirectAnnotation()); }
/** * Get the names of classes that have a field with this direct annotation. * * @return the sorted list of names of classes that have a field with thisdirect annotation, or the empty list * if none. */ public List<String> getNamesOfClassesWithDirectFieldAnnotation() { return getClassNames(getClassesWithDirectFieldAnnotation()); }