Constructor

public class Constructor extends AccessibleObject
implements GenericDeclaration Member

Stub implementation of Constructor. The actual implementation is in Constructor.h and Constructor.m, so the declared methods in this class should match the actual methods implemented in order to catch unsupported API references.

See Also

Inherited Constant Summary

Public Constructor Summary

Public Method Summary

<T extends Annotation> T
getAnnotation(Class<T> annotationClass)
Returns this element's annotation for the specified type if such an annotation is present, else null.
Annotation[]
getDeclaredAnnotations()
Returns annotations that are directly present on this element.
Class<T>
getDeclaringClass()
Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.
Class[]
Type[]
Type[]
int
getModifiers()
Returns the Java language modifiers for the member or constructor represented by this Member, as an integer.
String
getName()
Returns the simple name of the underlying member or constructor represented by this Member.
Annotation[][]
Class[]<?>
TypeVariable[]<Method>
getTypeParameters()
Returns an array of TypeVariable objects that represent the type variables declared by the generic declaration represented by this GenericDeclaration object, in declaration order.
boolean
isSynthetic()
Returns true if this member was introduced by the compiler; returns false otherwise.
boolean
T
String

Inherited Method Summary