Record Class ClassInfo
java.lang.Object
java.lang.Record
org.geysermc.conduit.asm.ClassInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Stringfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinterfacesrecord component.@NotNull Stringname()Returns the value of thenamerecord component.@Nullable StringReturns the value of thesuperNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ClassInfo
public ClassInfo(@NotNull @NotNull String name, @Nullable @Nullable String superName, @NotNull @NotNull List<String> interfaces) Creates an instance of aClassInforecord class.- Parameters:
name- the value for thenamerecord componentsuperName- the value for thesuperNamerecord componentinterfaces- the value for theinterfacesrecord component
-
-
Method Details
-
binaryName
-
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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
superName
Returns the value of thesuperNamerecord component.- Returns:
- the value of the
superNamerecord component
-
interfaces
-