Class ClassInfo.EnclosingMethodInfo
java.lang.Object
org.jboss.jandex.ClassInfo.EnclosingMethodInfo
- Enclosing class:
ClassInfo
Provides information on the enclosing method or constructor for a local or anonymous class,
if available.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEnclosingMethodInfo(String name, Type returnType, Type[] parameters, DotName enclosingClass) -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the class which declares the enclosing method or constructor.name()Returns the name of the method or constructor.Returns the list of parameter types declared by the enclosing method or constructor.(package private) Type[]Returns the return type of the enclosing method.toString()
-
Field Details
-
name
-
returnType
-
parameters
-
enclosingClass
-
-
Constructor Details
-
EnclosingMethodInfo
-
-
Method Details
-
name
Returns the name of the method or constructor.- Returns:
- the name of the method or constructor
-
returnType
-
parameters
-
parametersArray
Type[] parametersArray() -
enclosingClass
Returns the name of the class which declares the enclosing method or constructor.- Returns:
- the name of the class which declares the enclosing method or constructor
-
toString
-