Class ClassFileBodyDeclaration
java.lang.Object
org.jd.core.v1.model.javasyntax.declaration.BodyDeclaration
org.jd.core.v1.service.converter.classfiletojavasyntax.model.javasyntax.declaration.ClassFileBodyDeclaration
- All Implemented Interfaces:
Iterable<MemberDeclaration>, BaseMemberDeclaration, Declaration, MemberDeclaration, ClassFileMemberDeclaration, Base<MemberDeclaration>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<String, TypeArgument> protected List<ClassFileFieldDeclaration> protected intprotected List<ClassFileTypeDeclaration> protected Map<String, ClassFileTypeDeclaration> protected List<ClassFileConstructorOrMethodDeclaration> protected ClassFileBodyDeclarationprotected ObjectTypeprotected DefaultList<String> Fields inherited from class BodyDeclaration
internalTypeName, memberDeclarationsFields 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
ConstructorsConstructorDescriptionClassFileBodyDeclaration(String internalTypeName, Map<String, TypeArgument> bindings, Map<String, BaseType> typeBounds, ClassFileBodyDeclaration outerBodyDeclaration) -
Method Summary
Modifier and TypeMethodDescriptionintgetInnerTypeDeclaration(String internalName) removeInnerType(String internalName) voidsetFieldDeclarations(List<ClassFileFieldDeclaration> fieldDeclarations) voidsetInnerTypeDeclarations(List<ClassFileTypeDeclaration> innerTypeDeclarations) voidsetMemberDeclarations(BaseMemberDeclaration memberDeclarations) voidsetMethodDeclarations(List<ClassFileConstructorOrMethodDeclaration> methodDeclarations) voidsetOuterType(ObjectType outerType) voidsetSyntheticInnerFieldNames(DefaultList<String> syntheticInnerFieldNames) toString()protected voidupdateFirstLineNumber(List<? extends ClassFileMemberDeclaration> members) Methods inherited from class BodyDeclaration
accept, getInternalTypeName, getMemberDeclarationsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Declaration
acceptMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
fieldDeclarations
-
methodDeclarations
-
innerTypeDeclarations
-
innerTypeMap
-
firstLineNumber
protected int firstLineNumber -
outerType
-
syntheticInnerFieldNames
-
outerBodyDeclaration
-
bindings
-
typeBounds
-
-
Constructor Details
-
ClassFileBodyDeclaration
public ClassFileBodyDeclaration(String internalTypeName, Map<String, TypeArgument> bindings, Map<String, BaseType> typeBounds, ClassFileBodyDeclaration outerBodyDeclaration)
-
-
Method Details
-
setMemberDeclarations
-
getFieldDeclarations
-
setFieldDeclarations
-
getMethodDeclarations
-
setMethodDeclarations
-
getInnerTypeDeclarations
-
setInnerTypeDeclarations
-
getInnerTypeDeclaration
-
removeInnerType
-
updateFirstLineNumber
-
getFirstLineNumber
public int getFirstLineNumber()- Specified by:
getFirstLineNumberin interfaceClassFileMemberDeclaration
-
getOuterType
-
setOuterType
-
getSyntheticInnerFieldNames
-
setSyntheticInnerFieldNames
-
getOuterBodyDeclaration
-
getBindings
-
getTypeBounds
-
toString
-