Package org.jboss.jandex
Class ClassInfo.EnclosingMethodInfo
- java.lang.Object
-
- org.jboss.jandex.ClassInfo.EnclosingMethodInfo
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DotNameenclosingClass()Returns the class name which declares this method or constructor.Stringname()The name of the method or constructorList<Type>parameters()Returns the list of parameters declared by this method or constructor.TypereturnType()Returns the return type of the method.StringtoString()
-
-
-
Method Detail
-
name
public String name()
The name of the method or constructor- Returns:
- the name of the method or constructor
-
returnType
public Type returnType()
Returns the return type of the method.- Returns:
- the return type
-
parameters
public List<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.
-
enclosingClass
public DotName enclosingClass()
Returns the class name which declares this method or constructor.- Returns:
- the name of the class which declared this method or constructor
-
-