Class ClassFileConstructorDeclaration
java.lang.Object
org.jd.core.v1.model.javasyntax.declaration.ConstructorDeclaration
org.jd.core.v1.service.converter.classfiletojavasyntax.model.javasyntax.declaration.ClassFileConstructorDeclaration
- All Implemented Interfaces:
Iterable<MemberDeclaration>
,BaseMemberDeclaration
,Declaration
,MemberDeclaration
,ClassFileConstructorOrMethodDeclaration
,ClassFileMemberDeclaration
,Base<MemberDeclaration>
public class ClassFileConstructorDeclaration
extends ConstructorDeclaration
implements ClassFileConstructorOrMethodDeclaration
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map
<String, TypeArgument> protected ClassFileBodyDeclaration
protected ClassFile
protected int
protected Method
protected BaseType
Fields inherited from class org.jd.core.v1.model.javasyntax.declaration.ConstructorDeclaration
annotationReferences, descriptor, exceptionTypes, flags, formalParameters, statements, 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
ConstructorsConstructorDescriptionClassFileConstructorDeclaration
(ClassFileBodyDeclaration bodyDeclaration, ClassFile classFile, Method method, BaseAnnotationReference annotationReferences, BaseTypeParameter typeParameters, BaseType parameterTypes, BaseType exceptionTypes, Map<String, TypeArgument> bindings, Map<String, BaseType> typeBounds, int firstLineNumber) -
Method Summary
Modifier and TypeMethodDescriptionint
void
setFirstLineNumber
(int firstLineNumber) void
setFlags
(int flags) void
setFormalParameters
(BaseFormalParameter formalParameters) void
setStatements
(BaseStatement statements) toString()
Methods inherited from class org.jd.core.v1.model.javasyntax.declaration.ConstructorDeclaration
accept, getAnnotationReferences, getDescriptor, getExceptionTypes, getFlags, getFormalParameters, getStatements, getTypeParameters
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 org.jd.core.v1.service.converter.classfiletojavasyntax.model.javasyntax.declaration.ClassFileConstructorOrMethodDeclaration
getFlags, getStatements, getTypeParameters
Methods inherited from interface org.jd.core.v1.model.javasyntax.declaration.Declaration
accept
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
bodyDeclaration
-
classFile
-
method
-
parameterTypes
-
bindings
-
typeBounds
-
firstLineNumber
protected int firstLineNumber
-
-
Constructor Details
-
ClassFileConstructorDeclaration
public ClassFileConstructorDeclaration(ClassFileBodyDeclaration bodyDeclaration, ClassFile classFile, Method method, BaseAnnotationReference annotationReferences, BaseTypeParameter typeParameters, BaseType parameterTypes, BaseType exceptionTypes, Map<String, TypeArgument> bindings, Map<String, BaseType> typeBounds, int firstLineNumber)
-
-
Method Details
-
setFlags
public void setFlags(int flags) - Specified by:
setFlags
in interfaceClassFileConstructorOrMethodDeclaration
-
setFormalParameters
- Specified by:
setFormalParameters
in interfaceClassFileConstructorOrMethodDeclaration
-
setStatements
- Specified by:
setStatements
in interfaceClassFileConstructorOrMethodDeclaration
-
getBodyDeclaration
- Specified by:
getBodyDeclaration
in interfaceClassFileConstructorOrMethodDeclaration
-
getClassFile
- Specified by:
getClassFile
in interfaceClassFileConstructorOrMethodDeclaration
-
getMethod
- Specified by:
getMethod
in interfaceClassFileConstructorOrMethodDeclaration
-
getParameterTypes
- Specified by:
getParameterTypes
in interfaceClassFileConstructorOrMethodDeclaration
-
getReturnedType
- Specified by:
getReturnedType
in interfaceClassFileConstructorOrMethodDeclaration
-
getBindings
- Specified by:
getBindings
in interfaceClassFileConstructorOrMethodDeclaration
-
getTypeBounds
- Specified by:
getTypeBounds
in interfaceClassFileConstructorOrMethodDeclaration
-
getFirstLineNumber
public int getFirstLineNumber()- Specified by:
getFirstLineNumber
in interfaceClassFileMemberDeclaration
-
setFirstLineNumber
public void setFirstLineNumber(int firstLineNumber) -
toString
- Overrides:
toString
in classConstructorDeclaration
-