Package org.jboss.weld.util.bytecode
Interface MethodInformation
-
- All Known Implementing Classes:
RuntimeMethodInformation,StaticMethodInformation
public interface MethodInformationData 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 StringgetDeclaringClass()The declaring class name in java dotted form (e.g.StringgetDescriptor()Gets the method descriptorMethodgetMethod()This may return null if Method is not available yetintgetModifiers()The method modifiersStringgetName()the method nameString[]getParameterTypes()returns string representations of the parameter typesStringgetReturnType()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
-
-