org.tinyjee.maven.dim.extensions
Interface JavaSourceLoader.Selector

Enclosing class:
JavaSourceLoader

public static interface JavaSourceLoader.Selector

Defines a selector that can be used to access additional entities that relate to the loaded java class.


Method Summary
 SelectableMappedJavaEntitiesList getAnnotatedClasses()
          If this class is an annotation, it returns a selectable list of all known classes that are directly annotated with this class.
 SelectableMappedJavaEntitiesList getClassesBelowPackage()
          Returns a selectable list of all classes that are below or in the same package.
 SelectableMappedJavaEntitiesList getDerivedClasses()
          Returns a selectable list of all known classes that derive either directly or in-directly from this class.
 SelectableMappedJavaEntitiesList getImplementedInterfaces()
          Returns a selectable list of all implemented interfaces.
 SelectableMappedJavaEntitiesList getNestedClasses()
          Returns a selectable list of nested classes (inner classes).
 SelectableMappedJavaEntitiesList getPackageClasses()
          Returns a selectable list of all classes in the same package.
 SelectableMappedJavaEntitiesList getSuperClasses()
          Returns a selectable list of all super classes (vector up to java.lang.Object).
 

Method Detail

getPackageClasses

SelectableMappedJavaEntitiesList getPackageClasses()
Returns a selectable list of all classes in the same package.

Returns:
a selectable list of all classes in the same package.

getClassesBelowPackage

SelectableMappedJavaEntitiesList getClassesBelowPackage()
Returns a selectable list of all classes that are below or in the same package.

Returns:
a selectable list of all classes that are below or in the same package.

getNestedClasses

SelectableMappedJavaEntitiesList getNestedClasses()
Returns a selectable list of nested classes (inner classes).

Returns:
a selectable list of nested classes (inner classes).

getSuperClasses

SelectableMappedJavaEntitiesList getSuperClasses()
Returns a selectable list of all super classes (vector up to java.lang.Object).

Returns:
a selectable list of all super classes (vector up to java.lang.Object).

getImplementedInterfaces

SelectableMappedJavaEntitiesList getImplementedInterfaces()
Returns a selectable list of all implemented interfaces.

Note: Interfaces that extend other interfaces actually "implement" them and will be listed in this list instead of superClasses (even if the keyword inside the code is extends).

Returns:
a selectable list of all implemented interfaces.

getDerivedClasses

SelectableMappedJavaEntitiesList getDerivedClasses()
Returns a selectable list of all known classes that derive either directly or in-directly from this class.

Returns:
a selectable list of all known classes that derive either directly or in-directly from this class.

getAnnotatedClasses

SelectableMappedJavaEntitiesList getAnnotatedClasses()
If this class is an annotation, it returns a selectable list of all known classes that are directly annotated with this class. An IllegalStateException will be thrown if the property is accessed on non-Annotation classes.

Returns:
a selectable list of all known classes that are directly annotated with this class..