Package kawa.lang
Class SetFieldProc
- java.lang.Object
-
- gnu.mapping.PropertySet
-
- gnu.mapping.Procedure
-
- gnu.mapping.Procedure2
-
- kawa.lang.SetFieldProc
-
- All Implemented Interfaces:
Inlineable
,Named
public class SetFieldProc extends Procedure2 implements Inlineable
-
-
Field Summary
-
Fields inherited from class gnu.mapping.Procedure2
applyToObject
-
Fields inherited from class gnu.mapping.Procedure
applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKey
-
Fields inherited from class gnu.mapping.PropertySet
nameKey
-
-
Constructor Summary
Constructors Constructor Description SetFieldProc(ClassType ctype, String fname)
SetFieldProc(ClassType ctype, String name, Type ftype, int flags)
SetFieldProc(Class clas, String fname)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
apply2(Object arg1, Object arg2)
void
compile(ApplyExp exp, Compilation comp, Target target)
Type
getReturnType(Expression[] args)
Semi-deprecated - instead should be set at Inline time.-
Methods inherited from class gnu.mapping.Procedure2
apply0, apply1, apply3, apply4, applyN, applyToObject, numArgs
-
Methods inherited from class gnu.mapping.Procedure
applyL, applyToConsumerDefault, applyToObjectDefault, checkArgCount, checkBadCode, getApplyMethod, getApplyToConsumerMethod, getApplyToObjectMethod, getSetter, getSourceLocation, isSideEffectFree, lookupApplyHandle, maxArgs, maxArgs, minArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation, toString
-
Methods inherited from class gnu.mapping.PropertySet
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
-
-
-
-
Method Detail
-
apply2
public Object apply2(Object arg1, Object arg2)
- Specified by:
apply2
in classProcedure2
-
compile
public void compile(ApplyExp exp, Compilation comp, Target target)
- Specified by:
compile
in interfaceInlineable
-
getReturnType
public Type getReturnType(Expression[] args)
Description copied from class:Procedure
Semi-deprecated - instead should be set at Inline time. FIXME- Overrides:
getReturnType
in classProcedure
-
-