Package st.gravel.support.compiler.jvm

Examples of st.gravel.support.compiler.jvm.JVMMethodType


          @Override
          public JVMType value_(Class<?> arg1) {
            return jvmTypeForClass_(arg1);
          }
        });
    JVMMethodType _aJVMMethodType = JVMMethodType.factory
        .returnType_arguments_(
            jvmTypeForClass_(method.getReturnType()), arguments);
    return invokeFactory.ownerType_name_signature_(_type, _name,
        _aJVMMethodType);
  }
View Full Code Here


      JVMMethodCompiler.this.visit_(_arg);
    }
    _selector = st.gravel.core.Symbol.value(_messageNode.selector());
    _functionName = _parent.selectorConverter().selectorAsFunctionName_(_selector);
    if (_isBlock) {
      final JVMMethodType _superSig;
      JVMMethodCompiler.this.ensureCast_(_parent.selfType());
      _superFN = "access$" + _functionName;
      _superSig = JVMMethodType.factory.dynamic_(_messageNode.numArgs()).copyWithFirst_(_parent.selfType());
      JVMMethodCompiler.this.emit_(InvokeStatic.factory.ownerType_name_signature_(_parent.ownerType(), _superFN, _superSig));
      _parent.addInvokeSuper_functionName_numArgs_superReference_superSig_(_superFN, _functionName, _selector.numArgs(), _superNode.reference().toString(), _superSig);
View Full Code Here

TOP

Related Classes of st.gravel.support.compiler.jvm.JVMMethodType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.