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

Quick Search    Search Deep

nice.tools.code
Class IsOfClassProc  view IsOfClassProc download IsOfClassProc.java

java.lang.Object
  extended bygnu.mapping.Procedure
      extended bygnu.mapping.Procedure1
          extended bynice.tools.code.IsOfClassProc
All Implemented Interfaces:
gnu.expr.Inlineable, gnu.mapping.Named

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


Field Summary
private static gnu.bytecode.Method equalsMethod
           
private static gnu.bytecode.Method getClassMethod
           
private static gnu.bytecode.Method getNameMethod
           
private  gnu.bytecode.Type type
           
 
Fields inherited from class gnu.mapping.Procedure
 
Constructor Summary
IsOfClassProc(gnu.bytecode.Type type)
           
 
Method Summary
 java.lang.Object apply1(java.lang.Object arg)
           
 void compile(gnu.expr.ApplyExp exp, gnu.expr.Compilation comp, gnu.expr.Target target)
           
 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

type

private gnu.bytecode.Type type

getClassMethod

private static final gnu.bytecode.Method getClassMethod

getNameMethod

private static final gnu.bytecode.Method getNameMethod

equalsMethod

private static final gnu.bytecode.Method equalsMethod
Constructor Detail

IsOfClassProc

public IsOfClassProc(gnu.bytecode.Type type)
Method Detail

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 arg)