Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.dynjs.runtime.builtins.types;
 
 
 public abstract class AbstractBuiltinType extends AbstractNativeFunction {
 
     public AbstractBuiltinType(GlobalContext globalContextString... formalParameters) {
         super(globalContexttrueformalParameters);
     }
    public void initialize(GlobalContext globalContext) {
        Object proto = get(null"prototype");
        if (proto == .) {
            proto = null;
        }
        initialize(globalContext, (JSObjectproto);
    }
    public abstract void initialize(GlobalContext globalContextJSObject prototype);
    protected void setPrototypeProperty(final JSObject prototype) {
        defineOwnProperty(null"prototype",
                PropertyDescriptor.newDataPropertyDescriptor(prototypefalsefalsefalse), false);
    }
    protected void defineNonEnumerableProperty(JSObject targetString namefinal Object value) {
        target.defineOwnProperty(nullname,
                PropertyDescriptor.newDataPropertyDescriptor(valuetruetruefalse), false);
    }
New to GrepCode? Check out our FAQ X