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 ConstantValueconstValueprotected inttype
-
Constructor Summary
Constructors Constructor Description ElementValuePrimitiveType(int type, ConstantValue constValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ElementValueVisitor visitor)<T extends ConstantValue>
TgetConstValue()intgetType()
-
-
-
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:
acceptin interfaceElementValue
-
-