Record Class DebugPropertyValue.FieldInfo
java.lang.Object
java.lang.Record
dev.pfaff.altargui.inspector.DebugPropertyValue.FieldInfo
- Enclosing interface:
DebugPropertyValue
public static record DebugPropertyValue.FieldInfo(String name, MethodHandle namedPreviewBuilder, Key.CallSite key)
extends Record
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFieldInfo
(String name, @Nullable String tooltip, MethodHandle fieldGetter, boolean isFinal) FieldInfo
(String name, MethodHandle namedPreviewBuilder, Key.CallSite key) Creates an instance of aFieldInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.key()
Returns the value of thekey
record component.name()
Returns the value of thename
record component.Returns the value of thenamedPreviewBuilder
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
MT_W_WID
-
-
Constructor Details
-
FieldInfo
public FieldInfo(String name, @Nullable @Nullable String tooltip, MethodHandle fieldGetter, boolean isFinal) -
FieldInfo
Creates an instance of aFieldInfo
record class.- Parameters:
name
- the value for thename
record componentnamedPreviewBuilder
- the value for thenamedPreviewBuilder
record componentkey
- the value for thekey
record component
-
-
Method Details
-
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 thename
record component.- Returns:
- the value of the
name
record component
-
namedPreviewBuilder
Returns the value of thenamedPreviewBuilder
record component.- Returns:
- the value of the
namedPreviewBuilder
record component
-
key
Returns the value of thekey
record component.- Returns:
- the value of the
key
record component
-