Class EnumDeclaration.Constant
java.lang.Object
org.jd.core.v1.model.javasyntax.declaration.EnumDeclaration.Constant
- All Implemented Interfaces:
Declaration
- Direct Known Subclasses:
ClassFileEnumDeclaration.ClassFileConstant
- Enclosing class:
EnumDeclaration
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BaseAnnotationReferenceprotected BaseExpressionprotected BodyDeclarationprotected intprotected StringFields inherited from interface 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
ConstructorsConstructorDescriptionConstant(int lineNumber, String name, BaseExpression arguments) Constant(int lineNumber, String name, BaseExpression arguments, BodyDeclaration bodyDeclaration) Constant(int lineNumber, BaseAnnotationReference annotationReferences, String name, BaseExpression arguments, BodyDeclaration bodyDeclaration) Constant(String name, BaseExpression arguments) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(DeclarationVisitor visitor) intgetName()voidsetArguments(BaseExpression arguments)
-
Field Details
-
lineNumber
protected int lineNumber -
annotationReferences
-
name
-
arguments
-
bodyDeclaration
-
-
Constructor Details
-
Constant
-
Constant
-
Constant
-
Constant
-
Constant
public Constant(int lineNumber, String name, BaseExpression arguments, BodyDeclaration bodyDeclaration) -
Constant
public Constant(int lineNumber, BaseAnnotationReference annotationReferences, String name, BaseExpression arguments, BodyDeclaration bodyDeclaration)
-
-
Method Details
-
getLineNumber
public int getLineNumber() -
getAnnotationReferences
-
getName
-
getArguments
-
setArguments
-
getBodyDeclaration
-
accept
- Specified by:
acceptin interfaceDeclaration
-