Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.codehaus.groovy.runtime.callsite;
 
 
 
 public class ConstructorMetaClassSite extends MetaClassSite {
     public ConstructorMetaClassSite(CallSite siteMetaClass metaClass) {
        super(sitemetaClass);
    }
    public Object callConstructor(Object receiverObject[] argsthrows Throwable {
        if (receiver == .getTheClass()) {
            try {
                return .invokeConstructor(args);
            } catch (GroovyRuntimeException gre) {
                throw ScriptBytecodeAdapter.unwrap(gre);
            }
        } else {
          return CallSiteArray.defaultCallConstructor(this, (Class)receiverargs);
        }
    }
New to GrepCode? Check out our FAQ X