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 int
protected List
<ClassFileTypeDeclaration> protected Map
<String, ClassFileTypeDeclaration> protected List
<ClassFileConstructorOrMethodDeclaration> protected ClassFileBodyDeclaration
protected ObjectType
protected DefaultList
<String> Fields inherited from class org.jd.core.v1.model.javasyntax.declaration.BodyDeclaration
internalTypeName, memberDeclarations
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
ConstructorsConstructorDescriptionClassFileBodyDeclaration
(String internalTypeName, Map<String, TypeArgument> bindings, Map<String, BaseType> typeBounds, ClassFileBodyDeclaration outerBodyDeclaration) -
Method Summary
Modifier and TypeMethodDescriptionint
getInnerTypeDeclaration
(String internalName) removeInnerType
(String internalName) void
setFieldDeclarations
(List<ClassFileFieldDeclaration> fieldDeclarations) void
setInnerTypeDeclarations
(List<ClassFileTypeDeclaration> innerTypeDeclarations) void
setMemberDeclarations
(BaseMemberDeclaration memberDeclarations) void
setMethodDeclarations
(List<ClassFileConstructorOrMethodDeclaration> methodDeclarations) void
setOuterType
(ObjectType outerType) void
setSyntheticInnerFieldNames
(DefaultList<String> syntheticInnerFieldNames) toString()
protected void
updateFirstLineNumber
(List<? extends ClassFileMemberDeclaration> members) Methods inherited from class org.jd.core.v1.model.javasyntax.declaration.BodyDeclaration
accept, getInternalTypeName, getMemberDeclarations
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.model.javasyntax.declaration.Declaration
accept
Methods inherited from interface java.lang.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:
getFirstLineNumber
in interfaceClassFileMemberDeclaration
-
getOuterType
-
setOuterType
-
getSyntheticInnerFieldNames
-
setSyntheticInnerFieldNames
-
getOuterBodyDeclaration
-
getBindings
-
getTypeBounds
-
toString
-