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:
java.lang.Iterable<MemberDeclaration>
,BaseMemberDeclaration
,Declaration
,MemberDeclaration
,ClassFileMemberDeclaration
,Base<MemberDeclaration>
public class ClassFileBodyDeclaration extends BodyDeclaration implements ClassFileMemberDeclaration
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,TypeArgument>
bindings
protected java.util.List<ClassFileFieldDeclaration>
fieldDeclarations
protected int
firstLineNumber
protected java.util.List<ClassFileTypeDeclaration>
innerTypeDeclarations
protected java.util.Map<java.lang.String,ClassFileTypeDeclaration>
innerTypeMap
protected java.util.List<ClassFileConstructorOrMethodDeclaration>
methodDeclarations
protected ClassFileBodyDeclaration
outerBodyDeclaration
protected ObjectType
outerType
protected DefaultList<java.lang.String>
syntheticInnerFieldNames
protected java.util.Map<java.lang.String,BaseType>
typeBounds
-
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
Constructors Constructor Description ClassFileBodyDeclaration(java.lang.String internalTypeName, java.util.Map<java.lang.String,TypeArgument> bindings, java.util.Map<java.lang.String,BaseType> typeBounds, ClassFileBodyDeclaration outerBodyDeclaration)
-
Method Summary
-
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
-
-
-
-
Field Detail
-
fieldDeclarations
protected java.util.List<ClassFileFieldDeclaration> fieldDeclarations
-
methodDeclarations
protected java.util.List<ClassFileConstructorOrMethodDeclaration> methodDeclarations
-
innerTypeDeclarations
protected java.util.List<ClassFileTypeDeclaration> innerTypeDeclarations
-
innerTypeMap
protected java.util.Map<java.lang.String,ClassFileTypeDeclaration> innerTypeMap
-
firstLineNumber
protected int firstLineNumber
-
outerType
protected ObjectType outerType
-
syntheticInnerFieldNames
protected DefaultList<java.lang.String> syntheticInnerFieldNames
-
outerBodyDeclaration
protected ClassFileBodyDeclaration outerBodyDeclaration
-
bindings
protected java.util.Map<java.lang.String,TypeArgument> bindings
-
typeBounds
protected java.util.Map<java.lang.String,BaseType> typeBounds
-
-
Constructor Detail
-
ClassFileBodyDeclaration
public ClassFileBodyDeclaration(java.lang.String internalTypeName, java.util.Map<java.lang.String,TypeArgument> bindings, java.util.Map<java.lang.String,BaseType> typeBounds, ClassFileBodyDeclaration outerBodyDeclaration)
-
-
Method Detail
-
setMemberDeclarations
public void setMemberDeclarations(BaseMemberDeclaration memberDeclarations)
-
getFieldDeclarations
public java.util.List<ClassFileFieldDeclaration> getFieldDeclarations()
-
setFieldDeclarations
public void setFieldDeclarations(java.util.List<ClassFileFieldDeclaration> fieldDeclarations)
-
getMethodDeclarations
public java.util.List<ClassFileConstructorOrMethodDeclaration> getMethodDeclarations()
-
setMethodDeclarations
public void setMethodDeclarations(java.util.List<ClassFileConstructorOrMethodDeclaration> methodDeclarations)
-
getInnerTypeDeclarations
public java.util.List<ClassFileTypeDeclaration> getInnerTypeDeclarations()
-
setInnerTypeDeclarations
public void setInnerTypeDeclarations(java.util.List<ClassFileTypeDeclaration> innerTypeDeclarations)
-
getInnerTypeDeclaration
public ClassFileTypeDeclaration getInnerTypeDeclaration(java.lang.String internalName)
-
removeInnerType
public ClassFileMemberDeclaration removeInnerType(java.lang.String internalName)
-
updateFirstLineNumber
protected void updateFirstLineNumber(java.util.List<? extends ClassFileMemberDeclaration> members)
-
getFirstLineNumber
public int getFirstLineNumber()
- Specified by:
getFirstLineNumber
in interfaceClassFileMemberDeclaration
-
getOuterType
public ObjectType getOuterType()
-
setOuterType
public void setOuterType(ObjectType outerType)
-
getSyntheticInnerFieldNames
public DefaultList<java.lang.String> getSyntheticInnerFieldNames()
-
setSyntheticInnerFieldNames
public void setSyntheticInnerFieldNames(DefaultList<java.lang.String> syntheticInnerFieldNames)
-
getOuterBodyDeclaration
public ClassFileBodyDeclaration getOuterBodyDeclaration()
-
getBindings
public java.util.Map<java.lang.String,TypeArgument> getBindings()
-
getTypeBounds
public java.util.Map<java.lang.String,BaseType> getTypeBounds()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-