Package org.jboss.weld.util.bytecode
Interface MethodInformation
-
- All Known Implementing Classes:
RuntimeMethodInformation
,StaticMethodInformation
public interface MethodInformation
Data that is needed when working with a method in bytecode- Author:
- Stuart Douglas
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDeclaringClass()
The declaring class name in java dotted form (e.g.String
getDescriptor()
Gets the method descriptorMethod
getMethod()
This may return null if Method is not available yetint
getModifiers()
The method modifiersString
getName()
the method nameString[]
getParameterTypes()
returns string representations of the parameter typesString
getReturnType()
Gets the method return type, in descriptor format (e.g.
-
-
-
Method Detail
-
getDeclaringClass
String getDeclaringClass()
The declaring class name in java dotted form (e.g. java.lang.String)
-
getMethod
Method getMethod()
This may return null if Method is not available yet
-
getDescriptor
String getDescriptor()
Gets the method descriptor
-
getParameterTypes
String[] getParameterTypes()
returns string representations of the parameter types
-
getReturnType
String getReturnType()
Gets the method return type, in descriptor format (e.g. Ljava/lang/String; )
-
getName
String getName()
the method name
-
getModifiers
int getModifiers()
The method modifiers- Returns:
- The modifiers
-
-