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, toStringgetLinegetAnnotation, getAnnotation, isAnnotationPresent, isAnnotationPresentpublic 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 JMethodpublic boolean isFinal()
public boolean isAbstract()
isAbstract in class JMethodpublic JClass getDeclaringClass()
getDeclaringClass in class JMethodpublic JClass getReturnType()
getReturnType in class JMethodpublic JType getGenericReturnType()
getGenericReturnType in class JMethodpublic JClass[] getParameterTypes()
getParameterTypes in class JMethodpublic JClass[] getExceptionTypes()
getExceptionTypes in class JMethodpublic JAnnotation[] getDeclaredAnnotations()
getDeclaredAnnotations in class JMethod