Record Class JDescriptor.Array
java.lang.Object
java.lang.Record
honeyroasted.jype.metadata.signature.JDescriptor.Array
- All Implemented Interfaces:
JDescriptor,JDescriptor.Type
- Enclosing interface:
JDescriptor
public static record JDescriptor.Array(JDescriptor.Type component)
extends Record
implements JDescriptor.Type
-
Nested Class Summary
Nested classes/interfaces inherited from interface honeyroasted.jype.metadata.signature.JDescriptor
JDescriptor.Array, JDescriptor.Class, JDescriptor.Method, JDescriptor.Primitive, JDescriptor.Type -
Constructor Summary
ConstructorsConstructorDescriptionArray(JDescriptor.Type component) Creates an instance of aArrayrecord class. -
Method Summary
-
Constructor Details
-
Array
Creates an instance of aArrayrecord class.- Parameters:
component- the value for thecomponentrecord component
-
-
Method Details
-
toString
-
toLocation
- Specified by:
toLocationin interfaceJDescriptor.Type
-
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). -
component
Returns the value of thecomponentrecord component.- Returns:
- the value of the
componentrecord component
-