public class JConstructorWrapper extends JMethod
Constructor and Description |
---|
JConstructorWrapper(java.lang.reflect.Constructor method,
JClassLoader loader) |
Modifier and Type | Method and Description |
---|---|
JAnnotation[] |
getDeclaredAnnotations()
Returns the annotations.
|
JClass |
getDeclaringClass()
Returns the declaring type.
|
JClass[] |
getExceptionTypes()
Returns the exception types.
|
JType |
getGenericReturnType()
Returns the return type.
|
java.lang.String |
getName()
Returns the method name.
|
JClass[] |
getParameterTypes()
Returns the parameter types.
|
JClass |
getReturnType()
Returns the return type.
|
boolean |
isAbstract()
Returns true for an abstract method.
|
boolean |
isFinal()
Returns true for a final method.
|
boolean |
isPrivate()
Returns true for a private method
|
boolean |
isProtected()
Returns true for a protected method.
|
boolean |
isPublic()
Returns true for a public method.
|
boolean |
isStatic()
Returns true for a static method.
|
equals, getFullName, toString
getLine
getAnnotation, getAnnotation, isAnnotationPresent, isAnnotationPresent
public JConstructorWrapper(java.lang.reflect.Constructor method, JClassLoader loader)
public java.lang.String getName()
public boolean isStatic()
public boolean isPrivate()
public boolean isPublic()
public boolean isProtected()
isProtected
in class JMethod
public boolean isFinal()
public boolean isAbstract()
isAbstract
in class JMethod
public JClass getDeclaringClass()
getDeclaringClass
in class JMethod
public JClass getReturnType()
getReturnType
in class JMethod
public JType getGenericReturnType()
getGenericReturnType
in class JMethod
public JClass[] getParameterTypes()
getParameterTypes
in class JMethod
public JClass[] getExceptionTypes()
getExceptionTypes
in class JMethod
public JAnnotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in class JMethod