Package com.evolveum.axiom.lang.antlr
Record Class TokenCustom
java.lang.Object
java.lang.Record
com.evolveum.axiom.lang.antlr.TokenCustom
Created by Dominik.
 Record represent token (symbol type) with specific properties.
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionTokenCustom(int type, TokenCustom.IdentifierContext identifierContext) Creates an instance of aTokenCustomrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.Returns the value of theidentifierContextrecord component.final StringtoString()Returns a string representation of this record class.inttype()Returns the value of thetyperecord component.
- 
Constructor Details- 
TokenCustomCreates an instance of aTokenCustomrecord class.- Parameters:
- type- the value for the- typerecord component
- identifierContext- the value for the- identifierContextrecord component
 
 
- 
- 
Method Details- 
equalsIndicates 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
hashCodepublic int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
typepublic int type()Returns the value of thetyperecord component.- Returns:
- the value of the typerecord component
 
- 
identifierContextReturns the value of theidentifierContextrecord component.- Returns:
- the value of the identifierContextrecord component
 
 
-