Record Class TypeAnnotationsReader.TypeAnnotationAttribute
java.lang.Object
java.lang.Record
com.ibm.wala.shrike.shrikeCT.TypeAnnotationsReader.TypeAnnotationAttribute
- Enclosing class:
TypeAnnotationsReader
public static record TypeAnnotationsReader.TypeAnnotationAttribute(TypeAnnotationsReader.TypeAnnotationTarget annotationTarget, AnnotationsReader.AnnotationAttribute annotationAttribute, List<Pair<TypeAnnotationsReader.TypePathKind, Integer>> typePath, TypeAnnotationsReader.TargetType targetType)
extends Record
- Author:
- Martin Hecker martin.hecker@kit.edu
-
Constructor Summary
ConstructorsConstructorDescriptionTypeAnnotationAttribute(TypeAnnotationsReader.TypeAnnotationTarget annotationTarget, AnnotationsReader.AnnotationAttribute annotationAttribute, List<Pair<TypeAnnotationsReader.TypePathKind, Integer>> typePath, TypeAnnotationsReader.TargetType targetType) Creates an instance of aTypeAnnotationAttributerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theannotationAttributerecord component.Returns the value of theannotationTargetrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thetargetTyperecord component.final StringtoString()Returns a string representation of this record class.typePath()Returns the value of thetypePathrecord component.
-
Constructor Details
-
TypeAnnotationAttribute
public TypeAnnotationAttribute(TypeAnnotationsReader.TypeAnnotationTarget annotationTarget, AnnotationsReader.AnnotationAttribute annotationAttribute, List<Pair<TypeAnnotationsReader.TypePathKind, Integer>> typePath, TypeAnnotationsReader.TargetType targetType) Creates an instance of aTypeAnnotationAttributerecord class.- Parameters:
annotationTarget- the value for theannotationTargetrecord componentannotationAttribute- the value for theannotationAttributerecord componenttypePath- the value for thetypePathrecord componenttargetType- the value for thetargetTyperecord component
-
-
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). -
annotationTarget
Returns the value of theannotationTargetrecord component.- Returns:
- the value of the
annotationTargetrecord component
-
annotationAttribute
Returns the value of theannotationAttributerecord component.- Returns:
- the value of the
annotationAttributerecord component
-
typePath
Returns the value of thetypePathrecord component.- Returns:
- the value of the
typePathrecord component
-
targetType
Returns the value of thetargetTyperecord component.- Returns:
- the value of the
targetTyperecord component
-