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 BaseAnnotationReference
protected String
protected BaseType
protected int
protected BaseFormalParameter
protected BaseStatement
protected BaseTypeParameter
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
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 TypeMethodDescriptionvoid
accept
(DeclarationVisitor visitor) int
getFlags()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jd.core.v1.util.Base
getFirst, getLast, getList, isList, iterator, size
Methods inherited from interface java.lang.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:
accept
in interfaceDeclaration
-
toString
-