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 ClassFileBodyDeclarationprotected ClassFileprotected intprotected MethodFields inherited from class org.jd.core.v1.model.javasyntax.declaration.StaticInitializerDeclaration
descriptor, statementsFields 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 TypeMethodDescriptionintintgetFlags()voidsetFirstLineNumber(int firstLineNumber) voidsetFlags(int flags) voidsetFormalParameters(BaseFormalParameter formalParameters) voidsetStatements(BaseStatement statements) toString()Methods inherited from class org.jd.core.v1.model.javasyntax.declaration.StaticInitializerDeclaration
accept, getDescriptor, getStatementsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jd.core.v1.util.Base
getFirst, getLast, getList, isList, iterator, sizeMethods inherited from interface org.jd.core.v1.service.converter.classfiletojavasyntax.model.javasyntax.declaration.ClassFileConstructorOrMethodDeclaration
getStatementsMethods inherited from interface org.jd.core.v1.model.javasyntax.declaration.Declaration
acceptMethods 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:
getFlagsin interfaceClassFileConstructorOrMethodDeclaration
-
setFlags
public void setFlags(int flags) - Specified by:
setFlagsin interfaceClassFileConstructorOrMethodDeclaration
-
setFormalParameters
- Specified by:
setFormalParametersin interfaceClassFileConstructorOrMethodDeclaration
-
setStatements
- Specified by:
setStatementsin interfaceClassFileConstructorOrMethodDeclaration
-
getClassFile
- Specified by:
getClassFilein interfaceClassFileConstructorOrMethodDeclaration
-
getMethod
- Specified by:
getMethodin interfaceClassFileConstructorOrMethodDeclaration
-
getTypeParameters
- Specified by:
getTypeParametersin interfaceClassFileConstructorOrMethodDeclaration
-
getParameterTypes
- Specified by:
getParameterTypesin interfaceClassFileConstructorOrMethodDeclaration
-
getReturnedType
- Specified by:
getReturnedTypein interfaceClassFileConstructorOrMethodDeclaration
-
getBodyDeclaration
- Specified by:
getBodyDeclarationin 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 classStaticInitializerDeclaration
-