public class StaticMethodInformation extends Object implements MethodInformation
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
String |
getDeclaringClass()
The declaring class name in java dotted form (e.g.
|
String |
getDescriptor()
Gets the method descriptor
|
Method |
getMethod()
This may return null if Method is not available yet
|
int |
getModifiers()
The method modifiers
|
String |
getName()
the method name
|
String[] |
getParameterTypes()
returns string representations of the parameter types
|
String |
getReturnType()
Gets the method return type, in descriptor format (e.g.
|
public StaticMethodInformation(String name, Class<?>[] parameterTypes, Class<?> returnType, String declaringClass)
public StaticMethodInformation(String name, Class<?>[] parameterTypes, Class<?> returnType, String declaringClass, int modifiers)
public String getDeclaringClass()
MethodInformation
getDeclaringClass
in interface MethodInformation
public Method getMethod()
MethodInformation
getMethod
in interface MethodInformation
public String getDescriptor()
MethodInformation
getDescriptor
in interface MethodInformation
public String[] getParameterTypes()
MethodInformation
getParameterTypes
in interface MethodInformation
public String getReturnType()
MethodInformation
getReturnType
in interface MethodInformation
public String getName()
MethodInformation
getName
in interface MethodInformation
public int getModifiers()
MethodInformation
getModifiers
in interface MethodInformation
Copyright © 2016. All rights reserved.