Interface AnnotationProperty.ConstantValue

All Known Subinterfaces:
EnumValue
Enclosing interface:
AnnotationProperty

public static interface AnnotationProperty.ConstantValue
A reference to a constant, that can be used in generated annotation code.
  • Method Summary

    Modifier and Type
    Method
    Description
    Name of the constant.
    Type name that declares the constant.
  • Method Details

    • type

      TypeName type()
      Type name that declares the constant.
      Returns:
      type name
    • name

      String name()
      Name of the constant.
      Returns:
      constant name