Record Class JpqlLeftJoinSupport.Rewrite.DeclarationSite
java.lang.Object
java.lang.Record
io.jmix.aitools.dataload.execution.JpqlLeftJoinSupport.Rewrite.DeclarationSite
- Enclosing class:
JpqlLeftJoinSupport.Rewrite
protected static record JpqlLeftJoinSupport.Rewrite.DeclarationSite(SelectionSourceNode source, int index, org.antlr.runtime.tree.Tree node)
extends Record
A variable's declaration: the selection source holding it, its child index there and the node itself.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeclarationSite(SelectionSourceNode source, int index, org.antlr.runtime.tree.Tree node) Creates an instance of aDeclarationSiterecord 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.intindex()Returns the value of theindexrecord component.org.antlr.runtime.tree.Treenode()Returns the value of thenoderecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DeclarationSite
Creates an instance of aDeclarationSiterecord class.- Parameters:
source- the value for thesourcerecord componentindex- the value for theindexrecord componentnode- the value for thenoderecord component
-
-
Method Details
-
toString
Returns 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. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
index
public int index()Returns the value of theindexrecord component.- Returns:
- the value of the
indexrecord component
-
node
public org.antlr.runtime.tree.Tree node()Returns the value of thenoderecord component.- Returns:
- the value of the
noderecord component
-