- All Superinterfaces:
AnnotationValue,ClassFileElement,WritableElement<AnnotationValue>
- All Known Implementing Classes:
AnnotationImpl.OfClassImpl
- Enclosing interface:
AnnotationValue
public static sealed interface AnnotationValue.OfClass
extends AnnotationValue
permits AnnotationImpl.OfClassImpl
Models a class-valued element
- Since:
- 22
-
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 TypeMethodDescriptionReturns the class name.default ClassDescReturns the class symbol.Methods inherited from interface org.glavo.classfile.AnnotationValue
tagMethods inherited from interface org.glavo.classfile.WritableElement
writeTo
-
Method Details
-
className
Utf8Entry className()Returns the class name.- Returns:
- the class name
-
classSymbol
Returns the class symbol.- Returns:
- the class symbol
-