Class NativeOperation

    • Constructor Detail

      • 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 -
    • Method Detail

      • 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:
        getName in class Operation
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()
      • getMethod

        public java.lang.reflect.Method getMethod()