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 ClassFileBodyDeclarationprotected ClassFileprotected intprotected Methodprotected BaseTypeFields inherited from class ConstructorDeclaration
annotationReferences, descriptor, exceptionTypes, flags, formalParameters, statements, typeParametersFields 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
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 TypeMethodDescriptionintvoidsetFirstLineNumber(int firstLineNumber) voidsetFlags(int flags) voidsetFormalParameters(BaseFormalParameter formalParameters) voidsetStatements(BaseStatement statements) toString()Methods inherited from class ConstructorDeclaration
accept, getAnnotationReferences, getDescriptor, getExceptionTypes, getFlags, getFormalParameters, getStatements, getTypeParametersMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ClassFileConstructorOrMethodDeclaration
getFlags, getStatements, getTypeParametersMethods inherited from interface Declaration
acceptMethods inherited from interface 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:
setFlagsin interfaceClassFileConstructorOrMethodDeclaration
-
setFormalParameters
- Specified by:
setFormalParametersin interfaceClassFileConstructorOrMethodDeclaration
-
setStatements
- Specified by:
setStatementsin interfaceClassFileConstructorOrMethodDeclaration
-
getBodyDeclaration
- Specified by:
getBodyDeclarationin interfaceClassFileConstructorOrMethodDeclaration
-
getClassFile
- Specified by:
getClassFilein interfaceClassFileConstructorOrMethodDeclaration
-
getMethod
- Specified by:
getMethodin interfaceClassFileConstructorOrMethodDeclaration
-
getParameterTypes
- Specified by:
getParameterTypesin interfaceClassFileConstructorOrMethodDeclaration
-
getReturnedType
- Specified by:
getReturnedTypein interfaceClassFileConstructorOrMethodDeclaration
-
getBindings
- Specified by:
getBindingsin interfaceClassFileConstructorOrMethodDeclaration
-
getTypeBounds
- Specified by:
getTypeBoundsin interfaceClassFileConstructorOrMethodDeclaration
-
getFirstLineNumber
public int getFirstLineNumber()- Specified by:
getFirstLineNumberin interfaceClassFileMemberDeclaration
-
setFirstLineNumber
public void setFirstLineNumber(int firstLineNumber) -
toString
- Overrides:
toStringin classConstructorDeclaration
-