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, interfacesFields inherited from class org.jd.core.v1.model.javasyntax.declaration.TypeDeclaration
annotationReferences, bodyDeclaration, flags, internalTypeName, nameFields 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 TypeMethodDescriptionintvoidsetConstants(List<EnumDeclaration.Constant> constants) voidsetFlags(int flags) toString()Methods inherited from class org.jd.core.v1.model.javasyntax.declaration.EnumDeclaration
accept, getConstants, getInterfacesMethods inherited from class org.jd.core.v1.model.javasyntax.declaration.TypeDeclaration
getAnnotationReferences, getBodyDeclaration, getFlags, getInternalTypeName, getNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jd.core.v1.util.Base
getFirst, getLast, getList, isList, iterator, sizeMethods inherited from interface org.jd.core.v1.service.converter.classfiletojavasyntax.model.javasyntax.declaration.ClassFileTypeDeclaration
getBodyDeclaration, getInternalTypeNameMethods inherited from interface org.jd.core.v1.model.javasyntax.declaration.Declaration
acceptMethods 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:
getFirstLineNumberin interfaceClassFileMemberDeclaration- Specified by:
getFirstLineNumberin interfaceClassFileTypeDeclaration
-
toString
- Overrides:
toStringin classEnumDeclaration
-