Record Class AnnotationsReader.ConstantElementValue
java.lang.Object
java.lang.Record
com.ibm.wala.shrike.shrikeCT.AnnotationsReader.ConstantElementValue
- Record Components:
val- the constant value
- All Implemented Interfaces:
AnnotationsReader.ElementValue
- Enclosing class:
AnnotationsReader
public static record AnnotationsReader.ConstantElementValue(Object val)
extends Record
implements AnnotationsReader.ElementValue
Represents a constant argument to an annotation. Class arguments (e.g.,
Foo.class) are
also represented with this type, with the value being the String class name.- Author:
- sjfink
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aConstantElementValuerecord class. -
Method Summary
-
Constructor Details
-
ConstantElementValue
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
val
-