Record Class MethodData.ParameterAnnotationsSizes
java.lang.Object
java.lang.Record
org.openjdk.asmtools.jdis.MethodData.ParameterAnnotationsSizes
- Enclosing class:
MethodData
private static record MethodData.ParameterAnnotationsSizes(int visibleParameterAnnotationsCount, int invisibleParameterAnnotationsCount)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for theinvisibleParameterAnnotationsCountrecord component.private final intThe field for thevisibleParameterAnnotationsCountrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateParameterAnnotationsSizes(int visibleParameterAnnotationsCount, int invisibleParameterAnnotationsCount) Creates an instance of aParameterAnnotationsSizesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.(package private) booleanintReturns the value of theinvisibleParameterAnnotationsCountrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of thevisibleParameterAnnotationsCountrecord component.
-
Field Details
-
visibleParameterAnnotationsCount
private final int visibleParameterAnnotationsCountThe field for thevisibleParameterAnnotationsCountrecord component. -
invisibleParameterAnnotationsCount
private final int invisibleParameterAnnotationsCountThe field for theinvisibleParameterAnnotationsCountrecord component.
-
-
Constructor Details
-
ParameterAnnotationsSizes
private ParameterAnnotationsSizes(int visibleParameterAnnotationsCount, int invisibleParameterAnnotationsCount) Creates an instance of aParameterAnnotationsSizesrecord class.- Parameters:
visibleParameterAnnotationsCount- the value for thevisibleParameterAnnotationsCountrecord componentinvisibleParameterAnnotationsCount- the value for theinvisibleParameterAnnotationsCountrecord component
-
-
Method Details
-
hasParameterAnnotations
boolean hasParameterAnnotations() -
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 with thecomparemethod from their corresponding wrapper classes. -
visibleParameterAnnotationsCount
public int visibleParameterAnnotationsCount()Returns the value of thevisibleParameterAnnotationsCountrecord component.- Returns:
- the value of the
visibleParameterAnnotationsCountrecord component
-
invisibleParameterAnnotationsCount
public int invisibleParameterAnnotationsCount()Returns the value of theinvisibleParameterAnnotationsCountrecord component.- Returns:
- the value of the
invisibleParameterAnnotationsCountrecord component
-