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
Modifier and TypeMethodDescriptionThe declaring class name in java dotted form (e.g. java.lang.String)Gets the method descriptorThis may return null if Method is not available yetintThe method modifiersgetName()the method nameString[]returns string representations of the parameter typesGets the method return type, in descriptor format (e.g.
-
Method Details
-
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
-