org.eclipse.m2m.atl.engine.vm
Class NativeOperation
java.lang.Object
   org.eclipse.m2m.atl.engine.vm.nativelib.ASMNativeObject
org.eclipse.m2m.atl.engine.vm.nativelib.ASMNativeObject
       org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny
           org.eclipse.m2m.atl.engine.vm.Operation
org.eclipse.m2m.atl.engine.vm.Operation
               org.eclipse.m2m.atl.engine.vm.NativeOperation
org.eclipse.m2m.atl.engine.vm.NativeOperation
- Direct Known Subclasses: 
- ClassNativeOperation, InstanceNativeOperation
- public abstract class NativeOperation 
- extends Operation
The native operations definition class.
 
 
 
 
 
| Methods inherited from class org.eclipse.m2m.atl.engine.vm.Operation | 
| get | 
 
| Methods inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny | 
| asBag, asSequence, asSet, check, debug, findOperation, findOperation, getHelper, getOclAnyType, getType, invoke, invoke, invokeSuper, isHelper, oclIsKindOf, oclIsTypeOf, oclIsUndefined, oclType, operatorEQ, operatorNE, output, refGetValue, refImmediateComposite, refImmediateComposite, refInvokeOperation, refSetValue, set, setType, toString | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
NativeOperation
public NativeOperation(java.lang.reflect.Method method,
                       java.util.List parameters,
                       ASMOclType returnType,
                       ASMOclType contextType)
- NativeOperation constructor. TODO The Method must be static and must have self as a first parameter.
 
- Parameters:
- method-
- parameters-
- returnType-
- contextType-
 
registerOperations
public static void registerOperations(ASMOclType t,
                                      java.lang.Class c)
- 
- Parameters:
- t-
- c-
 
registerOperations
public static void registerOperations(ASMOclType t,
                                      java.lang.Class c,
                                      boolean allowClassLevel,
                                      boolean allowInstanceLevel,
                                      boolean allowTypeTranslation,
                                      boolean allowDontUseFrame)
- 
- Parameters:
- t-
- c-
- allowClassLevel-
- allowInstanceLevel-
- allowTypeTranslation-
- allowDontUseFrame-
 
getASMType
protected static ASMOclType getASMType(java.lang.Class pt,
                                       boolean allowTypeTranslation)
- 
 
getName
public java.lang.String getName()
- 
- Specified by:
- getNamein class- Operation
 
- 
 
getContextSignature
public java.lang.String getContextSignature()
- 
- Specified by:
- getContextSignaturein class- Operation
 
- 
 
getSignature
public java.lang.String getSignature()
- 
- Specified by:
- getSignaturein class- Operation
 
- 
 
exec
public abstract ASMOclAny exec(StackFrame frame)
- 
 
- 
- Specified by:
- execin class- Operation
 
- 
- See Also:
- Operation.exec(org.eclipse.m2m.atl.engine.vm.StackFrame)
 
toString
public java.lang.String toString()
- 
 
- 
- Overrides:
- toStringin class- java.lang.Object
 
- 
- See Also:
- Object.toString()
 
getMethod
public java.lang.reflect.Method getMethod()
- 
 
getParameters
public java.util.List getParameters()
- 
- Specified by:
- getParametersin class- Operation
 
- 
 
getReturnType
public ASMOclType getReturnType()
- 
- Specified by:
- getReturnTypein class- Operation
 
- 
 
getContextType
public ASMOclType getContextType()
- 
- Specified by:
- getContextTypein class- Operation
 
-