Record Class JDescriptor.Class
java.lang.Object
java.lang.Record
honeyroasted.jype.metadata.signature.JDescriptor.Class
- All Implemented Interfaces:
JDescriptor,JDescriptor.Type
- Enclosing interface:
JDescriptor
public static record JDescriptor.Class(String[] packageName, String name)
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 -
Field Summary
Fields -
Constructor Summary
Constructors -
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.name()Returns the value of thenamerecord component.String[]Returns the value of thepackageNamerecord component.toString()Returns a string representation of this record class.
-
Field Details
-
DEFAULT_PACKAGE
-
-
Constructor Details
-
Class
-
Class
-
-
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). -
packageName
Returns the value of thepackageNamerecord component.- Returns:
- the value of the
packageNamerecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-