Record Class SwitchStatement.SingletonBootstrap
java.lang.Object
java.lang.Record
org.aspectj.org.eclipse.jdt.internal.compiler.ast.SwitchStatement.SingletonBootstrap
- Enclosing class:
SwitchStatement
public static record SwitchStatement.SingletonBootstrap(String id, char[] selector, char[] signature)
extends Record
Descriptor for a bootstrap method that is created only once but can be used more than once.
-
Constructor Summary
ConstructorsConstructorDescriptionSingletonBootstrap(String id, char[] selector, char[] signature) Creates an instance of aSingletonBootstraprecord class. -
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.id()Returns the value of theidrecord component.char[]selector()Returns the value of theselectorrecord component.char[]Returns the value of thesignaturerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SingletonBootstrap
Creates an instance of aSingletonBootstraprecord class.- Parameters:
id- the value for theidrecord componentselector- the value for theselectorrecord componentsignature- the value for thesignaturerecord 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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
selector
public char[] selector()Returns the value of theselectorrecord component.- Returns:
- the value of the
selectorrecord component
-
signature
public char[] signature()Returns the value of thesignaturerecord component.- Returns:
- the value of the
signaturerecord component
-