Class ClassDeclaration
- java.lang.Object
-
- org.jd.core.v1.model.javasyntax.declaration.TypeDeclaration
-
- org.jd.core.v1.model.javasyntax.declaration.InterfaceDeclaration
-
- org.jd.core.v1.model.javasyntax.declaration.ClassDeclaration
-
- All Implemented Interfaces:
java.lang.Iterable<MemberDeclaration>
,BaseMemberDeclaration
,BaseTypeDeclaration
,Declaration
,MemberDeclaration
,Base<MemberDeclaration>
- Direct Known Subclasses:
ClassFileClassDeclaration
public class ClassDeclaration extends InterfaceDeclaration
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectType
superType
-
Fields inherited from class org.jd.core.v1.model.javasyntax.declaration.InterfaceDeclaration
interfaces, typeParameters
-
Fields inherited from class org.jd.core.v1.model.javasyntax.declaration.TypeDeclaration
annotationReferences, bodyDeclaration, flags, internalTypeName, name
-
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 ClassDeclaration(int flags, java.lang.String internalName, java.lang.String name, BodyDeclaration bodyDeclaration)
ClassDeclaration(BaseAnnotationReference annotationReferences, int flags, java.lang.String internalName, java.lang.String name, BaseTypeParameter typeParameters, ObjectType superType, BaseType interfaces, BodyDeclaration bodyDeclaration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(DeclarationVisitor visitor)
ObjectType
getSuperType()
java.lang.String
toString()
-
Methods inherited from class org.jd.core.v1.model.javasyntax.declaration.InterfaceDeclaration
getInterfaces, getTypeParameters
-
Methods inherited from class org.jd.core.v1.model.javasyntax.declaration.TypeDeclaration
getAnnotationReferences, getBodyDeclaration, getFlags, getInternalTypeName, getName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
superType
protected ObjectType superType
-
-
Constructor Detail
-
ClassDeclaration
public ClassDeclaration(int flags, java.lang.String internalName, java.lang.String name, BodyDeclaration bodyDeclaration)
-
ClassDeclaration
public ClassDeclaration(BaseAnnotationReference annotationReferences, int flags, java.lang.String internalName, java.lang.String name, BaseTypeParameter typeParameters, ObjectType superType, BaseType interfaces, BodyDeclaration bodyDeclaration)
-
-
Method Detail
-
getSuperType
public ObjectType getSuperType()
-
accept
public void accept(DeclarationVisitor visitor)
- Specified by:
accept
in interfaceDeclaration
- Overrides:
accept
in classInterfaceDeclaration
-
toString
public java.lang.String toString()
- Overrides:
toString
in classInterfaceDeclaration
-
-