Class ConstructorDeclaration
java.lang.Object
org.jd.core.v1.model.javasyntax.declaration.ConstructorDeclaration
- All Implemented Interfaces:
Iterable<MemberDeclaration>, BaseMemberDeclaration, Declaration, MemberDeclaration, Base<MemberDeclaration>
- Direct Known Subclasses:
ClassFileConstructorDeclaration
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BaseAnnotationReferenceprotected Stringprotected BaseTypeprotected intprotected BaseFormalParameterprotected BaseStatementprotected BaseTypeParameterFields inherited from interface 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
ConstructorsConstructorDescriptionConstructorDeclaration(int flags, BaseFormalParameter formalParameters, String descriptor, BaseStatement statements) ConstructorDeclaration(BaseAnnotationReference annotationReferences, int flags, BaseTypeParameter typeParameters, BaseFormalParameter formalParameters, BaseType exceptionTypes, String descriptor, BaseStatement statements) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(DeclarationVisitor visitor) intgetFlags()toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
annotationReferences
-
flags
protected int flags -
typeParameters
-
formalParameters
-
exceptionTypes
-
descriptor
-
statements
-
-
Constructor Details
-
ConstructorDeclaration
public ConstructorDeclaration(int flags, BaseFormalParameter formalParameters, String descriptor, BaseStatement statements) -
ConstructorDeclaration
public ConstructorDeclaration(BaseAnnotationReference annotationReferences, int flags, BaseTypeParameter typeParameters, BaseFormalParameter formalParameters, BaseType exceptionTypes, String descriptor, BaseStatement statements)
-
-
Method Details
-
getFlags
public int getFlags() -
getAnnotationReferences
-
getTypeParameters
-
getFormalParameters
-
getExceptionTypes
-
getDescriptor
-
getStatements
-
accept
- Specified by:
acceptin interfaceDeclaration
-
toString
-