Record Class SymbolSearchConfiguration
java.lang.Object
java.lang.Record
org.ek9lang.compiler.support.SymbolSearchConfiguration
public record SymbolSearchConfiguration(String mainSymbolName, List<SymbolSearchConfiguration> parameterizingArguments)
extends Record
Can be used for a single Simple named search.
Or with parameter types for a generic type.
-
Constructor Summary
ConstructorsConstructorDescriptionSymbolSearchConfiguration(String mainSymbolName) Basic non parametric constructor, so just simple types.SymbolSearchConfiguration(String mainSymbolName, List<SymbolSearchConfiguration> parameterizingArguments) Creates an instance of aSymbolSearchConfigurationrecord class.SymbolSearchConfiguration(String mainSymbolName, SymbolSearchConfiguration parameter) -
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.booleanSimple search by name, or generic with polymorphic parameterization.Returns the value of themainSymbolNamerecord component.Returns the value of theparameterizingArgumentsrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
SymbolSearchConfiguration
-
SymbolSearchConfiguration
Basic non parametric constructor, so just simple types. -
SymbolSearchConfiguration
public SymbolSearchConfiguration(String mainSymbolName, List<SymbolSearchConfiguration> parameterizingArguments) Creates an instance of aSymbolSearchConfigurationrecord class.- Parameters:
mainSymbolName- the value for themainSymbolNamerecord componentparameterizingArguments- the value for theparameterizingArgumentsrecord component
-
-
Method Details
-
isParametric
public boolean isParametric()Simple search by name, or generic with polymorphic parameterization. -
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). -
mainSymbolName
Returns the value of themainSymbolNamerecord component.- Returns:
- the value of the
mainSymbolNamerecord component
-
parameterizingArguments
Returns the value of theparameterizingArgumentsrecord component.- Returns:
- the value of the
parameterizingArgumentsrecord component
-