Class ClassFileStaticInitializerDeclaration
java.lang.Object
org.jd.core.v1.model.javasyntax.declaration.StaticInitializerDeclaration
org.jd.core.v1.service.converter.classfiletojavasyntax.model.javasyntax.declaration.ClassFileStaticInitializerDeclaration
- All Implemented Interfaces:
Iterable<MemberDeclaration>
,BaseMemberDeclaration
,Declaration
,MemberDeclaration
,ClassFileConstructorOrMethodDeclaration
,ClassFileMemberDeclaration
,Base<MemberDeclaration>
public class ClassFileStaticInitializerDeclaration
extends StaticInitializerDeclaration
implements ClassFileConstructorOrMethodDeclaration
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map
<String, TypeArgument> protected ClassFileBodyDeclaration
protected ClassFile
protected int
protected Method
Fields inherited from class org.jd.core.v1.model.javasyntax.declaration.StaticInitializerDeclaration
descriptor, statements
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
ConstructorsConstructorDescriptionClassFileStaticInitializerDeclaration
(ClassFileBodyDeclaration bodyDeclaration, ClassFile classFile, Method method, Map<String, TypeArgument> bindings, Map<String, BaseType> typeBounds, int firstLineNumber) ClassFileStaticInitializerDeclaration
(ClassFileBodyDeclaration bodyDeclaration, ClassFile classFile, Method method, Map<String, TypeArgument> bindings, Map<String, BaseType> typeBounds, int firstLineNumber, BaseStatement statements) -
Method Summary
Modifier and TypeMethodDescriptionint
int
getFlags()
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.StaticInitializerDeclaration
accept, getDescriptor, getStatements
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
getStatements
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
-
bindings
-
typeBounds
-
firstLineNumber
protected int firstLineNumber
-
-
Constructor Details
-
ClassFileStaticInitializerDeclaration
public ClassFileStaticInitializerDeclaration(ClassFileBodyDeclaration bodyDeclaration, ClassFile classFile, Method method, Map<String, TypeArgument> bindings, Map<String, BaseType> typeBounds, int firstLineNumber) -
ClassFileStaticInitializerDeclaration
public ClassFileStaticInitializerDeclaration(ClassFileBodyDeclaration bodyDeclaration, ClassFile classFile, Method method, Map<String, TypeArgument> bindings, Map<String, BaseType> typeBounds, int firstLineNumber, BaseStatement statements)
-
-
Method Details
-
getFlags
public int getFlags()- Specified by:
getFlags
in interfaceClassFileConstructorOrMethodDeclaration
-
setFlags
public void setFlags(int flags) - Specified by:
setFlags
in interfaceClassFileConstructorOrMethodDeclaration
-
setFormalParameters
- Specified by:
setFormalParameters
in interfaceClassFileConstructorOrMethodDeclaration
-
setStatements
- Specified by:
setStatements
in interfaceClassFileConstructorOrMethodDeclaration
-
getClassFile
- Specified by:
getClassFile
in interfaceClassFileConstructorOrMethodDeclaration
-
getMethod
- Specified by:
getMethod
in interfaceClassFileConstructorOrMethodDeclaration
-
getTypeParameters
- Specified by:
getTypeParameters
in interfaceClassFileConstructorOrMethodDeclaration
-
getParameterTypes
- Specified by:
getParameterTypes
in interfaceClassFileConstructorOrMethodDeclaration
-
getReturnedType
- Specified by:
getReturnedType
in interfaceClassFileConstructorOrMethodDeclaration
-
getBodyDeclaration
- Specified by:
getBodyDeclaration
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 classStaticInitializerDeclaration
-