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

Quick Search    Search Deep

nice.lang.inline
Class ArraySetOp  view ArraySetOp download ArraySetOp.java

java.lang.Object
  extended bygnu.mapping.Procedure
      extended bygnu.mapping.Procedure3
          extended bynice.lang.inline.ArraySetOp
All Implemented Interfaces:
gnu.expr.Inlineable, gnu.mapping.Named

public class ArraySetOp
extends gnu.mapping.Procedure3
implements gnu.expr.Inlineable

Inlining of array write access.

Version:
$Date: 2003/10/08 16:19:04 $

Field Summary
private static gnu.bytecode.Method reflectSet
           
private  gnu.bytecode.Type type
           
 
Fields inherited from class gnu.mapping.Procedure
 
Constructor Summary
ArraySetOp(gnu.bytecode.Type type)
           
 
Method Summary
 java.lang.Object apply3(java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
           
 void compile(gnu.expr.ApplyExp exp, gnu.expr.Compilation comp, gnu.expr.Target target)
           
static ArraySetOp create(java.lang.String param)
           
private  gnu.bytecode.Type getComponentType(gnu.bytecode.Type array)
           
 gnu.bytecode.Type getReturnType(gnu.expr.Expression[] args)
           
 
Methods inherited from class gnu.mapping.Procedure3
apply0, apply1, apply2, 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 final gnu.bytecode.Type type

reflectSet

private static gnu.bytecode.Method reflectSet
Constructor Detail

ArraySetOp

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

create

public static ArraySetOp 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

getComponentType

private gnu.bytecode.Type getComponentType(gnu.bytecode.Type array)

apply3

public java.lang.Object apply3(java.lang.Object arg1,
                               java.lang.Object arg2,
                               java.lang.Object arg3)