Module org.glavo.classfile
Package org.glavo.classfile.impl
Record Class UnboundAttribute.UnboundMethodParameterInfo
java.lang.Object
java.lang.Record
org.glavo.classfile.impl.UnboundAttribute.UnboundMethodParameterInfo
- All Implemented Interfaces:
MethodParameterInfo
- Enclosing class:
UnboundAttribute<T extends Attribute<T>>
public static record UnboundAttribute.UnboundMethodParameterInfo(Optional<Utf8Entry> name, int flagsMask)
extends Record
implements MethodParameterInfo
-
Constructor Summary
ConstructorsConstructorDescriptionUnboundMethodParameterInfo(Optional<Utf8Entry> name, int flagsMask) Creates an instance of aUnboundMethodParameterInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intReturns the value of theflagsMaskrecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.glavo.classfile.attribute.MethodParameterInfo
flags, has
-
Constructor Details
-
UnboundMethodParameterInfo
Creates an instance of aUnboundMethodParameterInforecord class.- Parameters:
name- the value for thenamerecord componentflagsMask- the value for theflagsMaskrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
name
Returns the value of thenamerecord component.- Specified by:
namein interfaceMethodParameterInfo- Returns:
- the value of the
namerecord component
-
flagsMask
public int flagsMask()Returns the value of theflagsMaskrecord component.- Specified by:
flagsMaskin interfaceMethodParameterInfo- Returns:
- the value of the
flagsMaskrecord component
-