Package gnu.kawa.reflect
Class InstanceOf
java.lang.Object
gnu.mapping.PropertySet
gnu.mapping.Procedure
gnu.mapping.Procedure2
gnu.kawa.reflect.InstanceOf
- All Implemented Interfaces:
Inlineable
,Named
- Direct Known Subclasses:
CastableAs
-
Field Summary
FieldsFields 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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
compile
(ApplyExp exp, Compilation comp, Target target) static void
emitIsInstance
(TypeValue type, Variable incoming, Compilation comp, Target target) 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
-
Field Details
-
language
-
-
Constructor Details
-
InstanceOf
-
InstanceOf
-
-
Method Details
-
apply2
- Specified by:
apply2
in classProcedure2
-
compile
- Specified by:
compile
in interfaceInlineable
-
getReturnType
Description copied from class:Procedure
Semi-deprecated - instead should be set at Inline time. FIXME- Overrides:
getReturnType
in classProcedure
-
emitIsInstance
public static void emitIsInstance(TypeValue type, Variable incoming, Compilation comp, Target target)
-