Package kawa.lang
Class RecordConstructor
java.lang.Object
gnu.mapping.PropertySet
gnu.mapping.Procedure
gnu.mapping.ProcedureN
kawa.lang.RecordConstructor
- All Implemented Interfaces:
Named
-
Field Summary
Fields inherited from class gnu.mapping.ProcedureN
applyToObject, noArgsFields inherited from class gnu.mapping.Procedure
applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKeyFields inherited from class gnu.mapping.PropertySet
nameKey -
Constructor Summary
ConstructorsConstructorDescriptionRecordConstructor(ClassType type) RecordConstructor(ClassType type, Field[] fields) RecordConstructor(ClassType type, Object fieldsList) RecordConstructor(Class clas) RecordConstructor(Class clas, Field[] fields) RecordConstructor(Class clas, Object fieldsList) -
Method Summary
Methods inherited from class gnu.mapping.ProcedureN
applyToObjectMethods 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, set0, set1, setN, setSetter, setSourceLocation, toStringMethods inherited from class gnu.mapping.PropertySet
getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
-
Constructor Details
-
RecordConstructor
-
RecordConstructor
-
RecordConstructor
-
RecordConstructor
-
RecordConstructor
-
RecordConstructor
-
-
Method Details
-
numArgs
public int numArgs()Description copied from class:ProcedureReturnminArgs()|(maxArgs<<12). We use a single virtual function to reduce the number of methods in the system, as well as the number of virtual method table entries. We shift by 12 so the number can normally be represented using a sipush instruction, without requiring a constant pool entry. -
getName
- Specified by:
getNamein interfaceNamed- Overrides:
getNamein classPropertySet
-
applyN
-