Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

regtest.basic
Class Nop  view Nop download Nop.java

java.lang.Object
  extended bygnu.mapping.Procedure
      extended bygnu.mapping.Procedure1
          extended byregtest.basic.Nop
All Implemented Interfaces:
gnu.expr.Inlineable, gnu.mapping.Named

public class Nop
extends gnu.mapping.Procedure1
implements gnu.expr.Inlineable

Taken from nice.lang.inline, to test inlined methods. Just compiles its argument, producing no bytecode itself.


Field Summary
private static Nop nop
           
 
Fields inherited from class gnu.mapping.Procedure
 
Constructor Summary
Nop()
           
 
Method Summary
 java.lang.Object apply1(java.lang.Object arg1)
           
 void compile(gnu.expr.ApplyExp exp, gnu.expr.Compilation comp, gnu.expr.Target target)
           
static Nop create(java.lang.String param)
           
 gnu.bytecode.Type getReturnType(gnu.expr.Expression[] args)
           
 
Methods inherited from class gnu.mapping.Procedure1
apply0, apply2, apply3, apply4, applyN, numArgs
 
Methods inherited from class gnu.mapping.Procedure
apply, checkArgCount, getName, getProperty, getSetter, maxArgs, minArgs, name, removeProperty, set0, set1, setN, setName, setProperty, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nop

private static Nop nop
Constructor Detail

Nop

public Nop()
Method Detail

create

public static Nop create(java.lang.String param)

compile

public void compile(gnu.expr.ApplyExp exp,
                    gnu.expr.Compilation comp,
                    gnu.expr.Target target)
Specified by:
compile in interface gnu.expr.Inlineable

getReturnType

public gnu.bytecode.Type getReturnType(gnu.expr.Expression[] args)
Specified by:
getReturnType in interface gnu.expr.Inlineable

apply1

public java.lang.Object apply1(java.lang.Object arg1)