Package gnu.kawa.reflect
Class MakeAnnotation
- java.lang.Object
-
- gnu.mapping.PropertySet
-
- gnu.mapping.Procedure
-
- gnu.mapping.ProcedureN
-
- gnu.kawa.reflect.MakeAnnotation
-
- All Implemented Interfaces:
Named
public class MakeAnnotation extends ProcedureN
-
-
Field Summary
Fields Modifier and Type Field Description static MakeAnnotation
instance
static QuoteExp
makeMethodExp
static Procedure
makeMethodProc
-
Fields inherited from class gnu.mapping.ProcedureN
applyToObject, noArgs
-
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 MakeAnnotation(ClassType annotationType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
applyN(Object[] args)
Object
applyN(Object[] args, SourceMessages messages)
String
getName()
static MakeAnnotation
make(Object annotationType)
static ApplyExp
makeAnnotationMaker(Expression classRef)
static Expression
validate(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)
-
Methods inherited from class gnu.mapping.ProcedureN
applyToObject
-
Methods inherited from class gnu.mapping.Procedure
apply0, apply1, apply2, apply3, apply4, applyL, applyToConsumerDefault, applyToObjectDefault, checkArgCount, checkBadCode, getApplyMethod, getApplyToConsumerMethod, getApplyToObjectMethod, getReturnType, getSetter, getSourceLocation, isSideEffectFree, lookupApplyHandle, maxArgs, maxArgs, minArgs, minArgs, numArgs, set0, set1, setN, setSetter, setSourceLocation, toString
-
Methods inherited from class gnu.mapping.PropertySet
getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
-
-
-
-
Field Detail
-
instance
public static final MakeAnnotation instance
-
makeMethodProc
public static final Procedure makeMethodProc
-
makeMethodExp
public static final QuoteExp makeMethodExp
-
-
Constructor Detail
-
MakeAnnotation
public MakeAnnotation(ClassType annotationType)
-
-
Method Detail
-
make
public static MakeAnnotation make(Object annotationType)
-
makeAnnotationMaker
public static ApplyExp makeAnnotationMaker(Expression classRef)
-
getName
public String getName()
- Specified by:
getName
in interfaceNamed
- Overrides:
getName
in classPropertySet
-
validate
public static Expression validate(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)
-
applyN
public Object applyN(Object[] args, SourceMessages messages)
-
-