Interface InitializerSignature
- All Superinterfaces:
CodeSignature, MemberSignature, Signature
Signature for static and instance initializers.
Static initializers have no parameters or exceptions,
so empty arrays are returned from the CodeSignature methods.
-
Method Summary
Methods inherited from interface CodeSignature
getExceptionTypes, getParameterNames, getParameterTypesMethods inherited from interface Signature
getDeclaringType, getDeclaringTypeName, getModifiers, getName, toLongString, toShortString, toStringModifier and TypeMethodDescriptionReturns ajava.lang.Classobject representing the class, interface, or aspect that declared this member.This is equivalent to calling getDeclaringType().getName(), but caches the result for greater efficiency.intReturns the modifiers on this signature represented as an int.getName()toString()
-
Method Details
-
getInitializer
Constructor getInitializer()- Returns:
- Constructor associated with this initializer, or null in the case of interface initializers and static initializers.
-