Package org.jboss.weld.util.bytecode
Class StaticMethodInformation
java.lang.Object
org.jboss.weld.util.bytecode.StaticMethodInformation
- All Implemented Interfaces:
MethodInformation
-
Constructor Summary
ConstructorsConstructorDescriptionStaticMethodInformation(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
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.
-
Constructor Details
-
StaticMethodInformation
-
StaticMethodInformation
-
StaticMethodInformation
-
-
Method Details
-
getDeclaringClass
Description copied from interface:MethodInformationThe declaring class name in java dotted form (e.g. java.lang.String)- Specified by:
getDeclaringClassin interfaceMethodInformation
-
getMethod
Description copied from interface:MethodInformationThis may return null if Method is not available yet- Specified by:
getMethodin interfaceMethodInformation
-
getDescriptor
Description copied from interface:MethodInformationGets the method descriptor- Specified by:
getDescriptorin interfaceMethodInformation
-
getParameterTypes
Description copied from interface:MethodInformationreturns string representations of the parameter types- Specified by:
getParameterTypesin interfaceMethodInformation
-
getReturnType
Description copied from interface:MethodInformationGets the method return type, in descriptor format (e.g. Ljava/lang/String; )- Specified by:
getReturnTypein interfaceMethodInformation
-
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
-