Class ConstructorDeclaration
- java.lang.Object
-
- org.jd.core.v1.model.javasyntax.declaration.ConstructorDeclaration
-
- All Implemented Interfaces:
java.lang.Iterable<MemberDeclaration>
,BaseMemberDeclaration
,Declaration
,MemberDeclaration
,Base<MemberDeclaration>
- Direct Known Subclasses:
ClassFileConstructorDeclaration
public class ConstructorDeclaration extends java.lang.Object implements MemberDeclaration
-
-
Field Summary
Fields Modifier and Type Field Description protected BaseAnnotationReference
annotationReferences
protected java.lang.String
descriptor
protected BaseType
exceptionTypes
protected int
flags
protected BaseFormalParameter
formalParameters
protected BaseStatement
statements
protected BaseTypeParameter
typeParameters
-
Fields inherited from interface org.jd.core.v1.model.javasyntax.declaration.Declaration
FLAG_ABSTRACT, FLAG_ANNOTATION, FLAG_BRIDGE, FLAG_DEFAULT, FLAG_ENUM, FLAG_FINAL, FLAG_INTERFACE, FLAG_MANDATED, FLAG_MODULE, FLAG_NATIVE, FLAG_OPEN, FLAG_PRIVATE, FLAG_PROTECTED, FLAG_PUBLIC, FLAG_STATIC, FLAG_STATIC_PHASE, FLAG_STRICT, FLAG_SUPER, FLAG_SYNCHRONIZED, FLAG_SYNTHETIC, FLAG_TRANSIENT, FLAG_TRANSITIVE, FLAG_VARARGS, FLAG_VOLATILE
-
-
Constructor Summary
Constructors Constructor Description ConstructorDeclaration(int flags, BaseFormalParameter formalParameters, java.lang.String descriptor, BaseStatement statements)
ConstructorDeclaration(BaseAnnotationReference annotationReferences, int flags, BaseTypeParameter typeParameters, BaseFormalParameter formalParameters, BaseType exceptionTypes, java.lang.String descriptor, BaseStatement statements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(DeclarationVisitor visitor)
BaseAnnotationReference
getAnnotationReferences()
java.lang.String
getDescriptor()
BaseType
getExceptionTypes()
int
getFlags()
BaseFormalParameter
getFormalParameters()
BaseStatement
getStatements()
BaseTypeParameter
getTypeParameters()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
annotationReferences
protected BaseAnnotationReference annotationReferences
-
flags
protected int flags
-
typeParameters
protected BaseTypeParameter typeParameters
-
formalParameters
protected BaseFormalParameter formalParameters
-
exceptionTypes
protected BaseType exceptionTypes
-
descriptor
protected java.lang.String descriptor
-
statements
protected BaseStatement statements
-
-
Constructor Detail
-
ConstructorDeclaration
public ConstructorDeclaration(int flags, BaseFormalParameter formalParameters, java.lang.String descriptor, BaseStatement statements)
-
ConstructorDeclaration
public ConstructorDeclaration(BaseAnnotationReference annotationReferences, int flags, BaseTypeParameter typeParameters, BaseFormalParameter formalParameters, BaseType exceptionTypes, java.lang.String descriptor, BaseStatement statements)
-
-
Method Detail
-
getFlags
public int getFlags()
-
getAnnotationReferences
public BaseAnnotationReference getAnnotationReferences()
-
getTypeParameters
public BaseTypeParameter getTypeParameters()
-
getFormalParameters
public BaseFormalParameter getFormalParameters()
-
getExceptionTypes
public BaseType getExceptionTypes()
-
getDescriptor
public java.lang.String getDescriptor()
-
getStatements
public BaseStatement getStatements()
-
accept
public void accept(DeclarationVisitor visitor)
- Specified by:
accept
in interfaceDeclaration
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-