Package com.google.turbine.bytecode
Class ClassFile.AnnotationInfo.ElementValue.ConstValue
- java.lang.Object
-
- com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ConstValue
-
- All Implemented Interfaces:
ClassFile.AnnotationInfo.ElementValue
- Enclosing interface:
- ClassFile.AnnotationInfo.ElementValue
public static class ClassFile.AnnotationInfo.ElementValue.ConstValue extends java.lang.Object implements ClassFile.AnnotationInfo.ElementValue
A primitive or string constant value.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue
ClassFile.AnnotationInfo.ElementValue.ArrayValue, ClassFile.AnnotationInfo.ElementValue.ConstTurbineAnnotationValue, ClassFile.AnnotationInfo.ElementValue.ConstTurbineClassValue, ClassFile.AnnotationInfo.ElementValue.ConstValue, ClassFile.AnnotationInfo.ElementValue.EnumConstValue, ClassFile.AnnotationInfo.ElementValue.Kind
-
-
Constructor Summary
Constructors Constructor Description ConstValue(Const.Value value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassFile.AnnotationInfo.ElementValue.Kindkind()The value kind.Const.Valuevalue()The constant value.
-
-
-
Constructor Detail
-
ConstValue
public ConstValue(Const.Value value)
-
-
Method Detail
-
kind
public ClassFile.AnnotationInfo.ElementValue.Kind kind()
Description copied from interface:ClassFile.AnnotationInfo.ElementValueThe value kind.- Specified by:
kindin interfaceClassFile.AnnotationInfo.ElementValue
-
value
public Const.Value value()
The constant value.
-
-