org.eclipse.xtend.core.jvmmodel
Class DispatchMethodCompileStrategy
java.lang.Object
org.eclipse.xtend.core.jvmmodel.DispatchMethodCompileStrategy
- All Implemented Interfaces:
- Procedures.Procedure1<ITreeAppendable>
@NonNullByDefault
public class DispatchMethodCompileStrategy
- extends java.lang.Object
- implements Procedures.Procedure1<ITreeAppendable>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DispatchMethodCompileStrategy
public DispatchMethodCompileStrategy()
initialize
protected void initialize(JvmOperation dispatchOperation,
java.util.List<JvmOperation> sortedDispatchOperations)
apply
public void apply(@Nullable
ITreeAppendable a)
- Specified by:
apply
in interface Procedures.Procedure1<ITreeAppendable>
generateActualDispatchCall
protected void generateActualDispatchCall(JvmOperation dispatchOperation,
JvmOperation actualOperationToCall,
ITreeAppendable a)
getVarName
protected java.lang.String getVarName(JvmIdentifiableElement ex,
IAppendable appendable)
- TODO: we assume that names from the inferred JVM model are the same in the Java code. Does that assumption
hold?