- All Superinterfaces:
AnnotationValue,AnnotationValue.OfConstant,ClassfileElement,WritableElement<AnnotationValue>
- All Known Implementing Classes:
AnnotationImpl.OfBooleanImpl,AnnotationImpl.OfByteImpl,AnnotationImpl.OfCharacterImpl,AnnotationImpl.OfDoubleImpl,AnnotationImpl.OfFloatImpl,AnnotationImpl.OfIntegerImpl,AnnotationImpl.OfLongImpl,AnnotationImpl.OfShortImpl,AnnotationImpl.OfStringImpl
- Enclosing class:
AnnotationImpl
public static sealed interface AnnotationImpl.OfConstantImpl
extends AnnotationValue.OfConstant
permits AnnotationImpl.OfStringImpl, AnnotationImpl.OfDoubleImpl, AnnotationImpl.OfFloatImpl, AnnotationImpl.OfLongImpl, AnnotationImpl.OfIntegerImpl, AnnotationImpl.OfShortImpl, AnnotationImpl.OfCharacterImpl, AnnotationImpl.OfByteImpl, AnnotationImpl.OfBooleanImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glavo.classfile.AnnotationValue
AnnotationValue.OfAnnotation, AnnotationValue.OfArray, AnnotationValue.OfBoolean, AnnotationValue.OfByte, AnnotationValue.OfCharacter, AnnotationValue.OfClass, AnnotationValue.OfConstant, AnnotationValue.OfDouble, AnnotationValue.OfEnum, AnnotationValue.OfFloat, AnnotationValue.OfInteger, AnnotationValue.OfLong, AnnotationValue.OfShort, AnnotationValue.OfString -
Method Summary
Modifier and TypeMethodDescriptiondefault ConstantDescReturns the constant.default voidWrites the element to the specified writerMethods inherited from interface org.glavo.classfile.AnnotationValue
tagMethods inherited from interface org.glavo.classfile.AnnotationValue.OfConstant
constant
-
Method Details
-
writeTo
Description copied from interface:WritableElementWrites the element to the specified writer- Specified by:
writeToin interfaceWritableElement<AnnotationValue>- Parameters:
buf- the writer
-
constantValue
Description copied from interface:AnnotationValue.OfConstantReturns the constant.- Specified by:
constantValuein interfaceAnnotationValue.OfConstant- Returns:
- the constant
-