Class Class<T>
java.lang.Object
fj.Class<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclas()Returns the underlying class.static <T> Class<T> Constructs a class from the given argument.Provides this class's type parameter information as a Tree of the type expression.Returns the inheritance hierarchy of this class.Provides this class's interface type parameter information as a list of trees.Provides this class's superclass type parameter information as a Tree of the type expression.Provides type parameter information as a Tree of the type expression.
-
Field Details
-
c
-
-
Constructor Details
-
Class
-
-
Method Details
-
inheritance
-
classParameters
Provides this class's type parameter information as a Tree of the type expression. Only descends into Parameterized classes. Non-abstract classes, or classes that don't implement an interface, are treated as raw types. Arrays, Type Variables, and Wildcards are treated as opaque Types.- Returns:
- The rose tree representing the type expression for this class.
-
superclassParameters
Provides this class's superclass type parameter information as a Tree of the type expression. Only descends into Parameterized classes. Non-abstract classes, or classes that don't implement an interface, are treated as raw types. Arrays, Type Variables, and Wildcards are treated as opaque Types.- Returns:
- The Tree representing the type expression for this class's superclass.
-
interfaceParameters
-
typeParameterTree
Provides type parameter information as a Tree of the type expression. Only descends into Parameterized classes. Non-abstract classes, or classes that don't implement an interface, are treated as raw types. Arrays, Type Variables, and Wildcards are treated as opaque Types.- Parameters:
t- The type (class) for which to get the generic type information.- Returns:
- Type parameter information as a rose tree of the type expression.
-
clas
-
clas
-