Package org.jboss.jandex
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
-
Field Details
-
name
-
returnType
-
parameters
-
enclosingClass
-
-
Constructor Details
-
EnclosingMethodInfo
-
-
Method Details
-
name
The name of the method or constructor- Returns:
- the name of the method or constructor
-
returnType
Returns the return type of the method.- Returns:
- the return type
-
parameters
Returns the list of parameters declared by this method or constructor. This may be empty, but never null.- Returns:
- the list of parameters.
-
parametersArray
Type[] parametersArray() -
enclosingClass
Returns the class name which declares this method or constructor.- Returns:
- the name of the class which declared this method or constructor
-
toString
-