Package org.jboss.weld.util.bytecode
Class StaticMethodInformation
- java.lang.Object
-
- org.jboss.weld.util.bytecode.StaticMethodInformation
-
- All Implemented Interfaces:
MethodInformation
public class StaticMethodInformation extends Object implements MethodInformation
-
-
Constructor Summary
Constructors Constructor Description StaticMethodInformation(String name, Class<?>[] parameterTypes, Class<?> returnType, String declaringClass)StaticMethodInformation(String name, Class<?>[] parameterTypes, Class<?> returnType, String declaringClass, int modifiers)StaticMethodInformation(String name, String[] parameterTypes, String returnType, String declaringClass)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
StaticMethodInformation
public StaticMethodInformation(String name, Class<?>[] parameterTypes, Class<?> returnType, String declaringClass)
-
StaticMethodInformation
public StaticMethodInformation(String name, Class<?>[] parameterTypes, Class<?> returnType, String declaringClass, int modifiers)
-
-
Method Detail
-
getDeclaringClass
public String getDeclaringClass()
Description copied from interface:MethodInformationThe declaring class name in java dotted form (e.g. java.lang.String)- Specified by:
getDeclaringClassin interfaceMethodInformation
-
getMethod
public Method getMethod()
Description copied from interface:MethodInformationThis may return null if Method is not available yet- Specified by:
getMethodin interfaceMethodInformation
-
getDescriptor
public String getDescriptor()
Description copied from interface:MethodInformationGets the method descriptor- Specified by:
getDescriptorin interfaceMethodInformation
-
getParameterTypes
public String[] getParameterTypes()
Description copied from interface:MethodInformationreturns string representations of the parameter types- Specified by:
getParameterTypesin interfaceMethodInformation
-
getReturnType
public String getReturnType()
Description copied from interface:MethodInformationGets the method return type, in descriptor format (e.g. Ljava/lang/String; )- Specified by:
getReturnTypein interfaceMethodInformation
-
getName
public String getName()
Description copied from interface:MethodInformationthe method name- Specified by:
getNamein interfaceMethodInformation
-
getModifiers
public int getModifiers()
Description copied from interface:MethodInformationThe method modifiers- Specified by:
getModifiersin interfaceMethodInformation- Returns:
- The modifiers
-
-