Class ElementValuePrimitiveType
- java.lang.Object
-
- org.jd.core.v1.model.classfile.attribute.ElementValuePrimitiveType
-
- All Implemented Interfaces:
ElementValue
public class ElementValuePrimitiveType extends java.lang.Object implements ElementValue
-
-
Field Summary
Fields Modifier and Type Field Description protected ConstantValue
constValue
protected int
type
-
Constructor Summary
Constructors Constructor Description ElementValuePrimitiveType(int type, ConstantValue constValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ElementValueVisitor visitor)
<T extends ConstantValue>
TgetConstValue()
int
getType()
-
-
-
Field Detail
-
type
protected int type
-
constValue
protected ConstantValue constValue
-
-
Constructor Detail
-
ElementValuePrimitiveType
public ElementValuePrimitiveType(int type, ConstantValue constValue)
-
-
Method Detail
-
getType
public int getType()
-
getConstValue
public <T extends ConstantValue> T getConstValue()
-
accept
public void accept(ElementValueVisitor visitor)
- Specified by:
accept
in interfaceElementValue
-
-