Class ClassFileEnumDeclaration
java.lang.Object
org.jd.core.v1.model.javasyntax.declaration.TypeDeclaration
org.jd.core.v1.model.javasyntax.declaration.EnumDeclaration
org.jd.core.v1.service.converter.classfiletojavasyntax.model.javasyntax.declaration.ClassFileEnumDeclaration
- All Implemented Interfaces:
Iterable<MemberDeclaration>
,BaseMemberDeclaration
,BaseTypeDeclaration
,Declaration
,MemberDeclaration
,ClassFileMemberDeclaration
,ClassFileTypeDeclaration
,Base<MemberDeclaration>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.jd.core.v1.model.javasyntax.declaration.EnumDeclaration
EnumDeclaration.Constant
-
Field Summary
FieldsFields inherited from class org.jd.core.v1.model.javasyntax.declaration.EnumDeclaration
constants, interfaces
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
ConstructorsConstructorDescriptionClassFileEnumDeclaration
(BaseAnnotationReference annotationReferences, int flags, String internalName, String name, BaseType interfaces, ClassFileBodyDeclaration bodyDeclaration) -
Method Summary
Modifier and TypeMethodDescriptionint
void
setConstants
(List<EnumDeclaration.Constant> constants) void
setFlags
(int flags) toString()
Methods inherited from class org.jd.core.v1.model.javasyntax.declaration.EnumDeclaration
accept, getConstants, getInterfaces
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
Methods inherited from interface org.jd.core.v1.util.Base
getFirst, getLast, getList, isList, iterator, size
Methods inherited from interface org.jd.core.v1.service.converter.classfiletojavasyntax.model.javasyntax.declaration.ClassFileTypeDeclaration
getBodyDeclaration, getInternalTypeName
Methods inherited from interface org.jd.core.v1.model.javasyntax.declaration.Declaration
accept
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
firstLineNumber
protected int firstLineNumber
-
-
Constructor Details
-
ClassFileEnumDeclaration
public ClassFileEnumDeclaration(BaseAnnotationReference annotationReferences, int flags, String internalName, String name, BaseType interfaces, ClassFileBodyDeclaration bodyDeclaration)
-
-
Method Details
-
setFlags
public void setFlags(int flags) -
setConstants
-
getFirstLineNumber
public int getFirstLineNumber()- Specified by:
getFirstLineNumber
in interfaceClassFileMemberDeclaration
- Specified by:
getFirstLineNumber
in interfaceClassFileTypeDeclaration
-
toString
- Overrides:
toString
in classEnumDeclaration
-