io.sarl.lang.extralanguage.compiler
Record ConversionResult
final record ConversionResult
extends java.lang.Object
Describes the result of a replacement.
Parameters:
text - the text.
conversion - is the description of the conversion.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Since:
0.6
Action Summary
Modifier and type Action and description
java.lang.Object conversion
final boolean equals(Object)
final int hashCode
boolean isFeatureRenaming
Replies if the replacement result is a simple feature renaming.
java.lang.String text
java.lang.Object toComplexConversion
Replies the complex conversion.
java.lang.String toString
Action Details
conversion
def conversion : java.lang.Object
equals(Object)
def equals(Object) : boolean
hashCode
def hashCode : int
isFeatureRenaming
def isFeatureRenaming : boolean
Replies if the replacement result is a simple feature renaming.
Returns:
true if the feature should be renamed, false for a complex replacement.
text
def text : java.lang.String
toComplexConversion
def toComplexConversion : java.lang.Object
Replies the complex conversion.

The replied value is an array of CharSequence, org.eclipse.xtext.common.types.JvmType, org.eclipse.xtext.xbase.typesystem.references.LightweightTypeReference, or org.eclipse.xtext.xbase.XExpression.
Returns:
the complex conversion.
toString
def toString : java.lang.String