Uses of Class
gnu.bytecode.Type
Packages that use Type
Package
Description
Contains classes to generate, read,
write, and print Java bytecode in the form of
.class files.Supports
Expression,
and various related classes need to compile programming languages.Contains classes to use reflection.
Supports
Procedure,
and various related classes needed at run-time by dynamically typed
languages (such as Scheme and ECMAScript).-
Uses of Type in gnu.bytecode
Subclasses of Type in gnu.bytecodeModifier and TypeClassDescriptionclassclassclassSemi-abstract class object reference types.classclassclassUsed for object types that don't correspond to JVM types.classA type variable in a parameterized type.classA pseudo-type used for allocated but uninitialized objects.Fields in gnu.bytecode declared as TypeModifier and TypeFieldDescriptionArrayType.elementsstatic final TypeType.neverReturnsTypeThe return type of an expression that never returns, such as a throw.Type[]CodeAttr.stack_typesstatic final Type[]Type.typeArray0Methods in gnu.bytecode that return TypeModifier and TypeMethodDescriptionArrayType.getComponentType()ArrayType.getImplementationType()SpecialObjectType.getImplementationType()Type.getImplementationType()Return Java-level implementation type.UninitializedType.getImplementationType()final Type[]Method.getParameterTypes()ArrayType.getRawType()Type.getRawType()Return JVM-level implementation type.SpecialObjectType.getRealType()Type.getRealType()If this is a type alias, get the aliased type.final TypeMethod.getReturnType()Field.getType()Location.getType()static TypeFind an Type with the given name, or create a new one.ParameterizedType.getTypeArgumentType(int index) Type[]ParameterizedType.getTypeArgumentTypes()static TypeType.lookupType(String name) static TypeType.lowestCommonSharedType(Type t1, Type t2) static TypeType.lowestCommonSuperType(Type t1, Type t2) Computes the common supertype Interfaces are not taken into account.static Typestatic TypeTry to map java.lang.reflect.Type to gnu.bytecode.Type.final TypeCodeAttr.popType()Type.promote()PrimType.promotedType()Type.promoteIfUnsigned()static TypeType.signatureToType(String sig) Get a Type corresponding to the given signature string.static TypeType.signatureToType(String sig, int off, int len) Get a Type corresponding to the given signature string.final TypeCodeAttr.topType()Methods in gnu.bytecode with parameters of type TypeModifier and TypeMethodDescriptionfinal Fieldfinal FieldAdd a new local variable (in the current scope).Add a new local variable (in the current scope).voidAdd a method to this ClassType.Scope.addVariable(CodeAttr code, Type type, String name) static AnnotationEntry.ValueAnnotationEntry.asAnnotationValue(Object val, Type type) static booleanCodeAttr.castNeeded(Type top, Type required) intintintintintintabstract intReturn a numeric code showing "subtype" relationship: 1: if other is a pure subtype of this; 0: if has the same values; -1: if this is a pure subtype of other; -2: if they have values in common but neither is a subtype of the other; -3: if the types have no values in common.intvoidMethod.compile_checkcast(Type type) voidCodeAttr.emitArrayLoad(Type element_type) Load an element from an array.voidCodeAttr.emitArrayStore(Type element_type) Store into an element of an array.voidvoidCodeAttr.emitCheckcast(Type type) voidType.emitConvertFromPrimitive(Type stackType, CodeAttr code) Convert from stackType (usually PrimType) to this type.voidvoidCodeAttr.emitInstanceof(Type type) voidCodeAttr.emitNewArray(Type element_type) voidCodeAttr.emitNewArray(Type element_type, int dims) Compile code to allocate a new array.final voidCompile 'not', assuming 0 or 1 is on the JVM stack.voidCodeAttr.emitPrimop(int opcode, int arg_count, Type retType) final voidCodeAttr.emitPushConstant(int val, Type type) voidCodeAttr.emitPushDefaultValue(Type type) Push zero or null as appropriate for the given type.voidCodeAttr.emitTryStart(boolean has_finally, Type result_type) final voidCodeAttr.fixUnsigned(Type stackType) ClassType.getDeclaredMethod(String name, Type[] arg_types) Look for a matching method.Method[]ClassType.getMatchingMethods(String name, Type[] paramTypes, int flags) Looks for a method matching the name and types.intArrayType.isCompatibleWithValue(Type valueType) intClassType.isCompatibleWithValue(Type valueType) intType.isCompatibleWithValue(Type valueType) If this is the target type, is a given source type compatible?static intType.isCompatibleWithValue(Type targetType, Type valueType) static booleanType.isMoreSpecific(Type[] t1, Type[] t2) Return true iff t1[i].isSubtype(t2[i]) for all i.static booleanfinal booleanReturn true if this is a "subtype" of other.static TypeType.lowestCommonSharedType(Type t1, Type t2) static TypeType.lowestCommonSuperType(Type t1, Type t2) Computes the common supertype Interfaces are not taken into account.static ArrayTypeFind or create an ArrayType for the specified element type.static StringMethod.makeGenericSignature(Type[] arg_types, Type return_type) static StringMethod.makeSignature(Type[] arg_types, Type return_type) voidMethod.maybe_compile_checkcast(Type type) voidCodeAttr.noteVarType(int offset, Type type) final voidClassTypeWriter.printSignature(Type type) final voidstatic voidType.registerTypeForClass(Class clas, Type type) Register that the Type for class is type.final voidMethod.setReturnType(Type type) final voidfinal voidSet the current type state from a label.CodeAttr.startExitableBlock(Type resultType, boolean runFinallyBlocks) Enter a block which can be exited.static PrimTypePrimType.unboxedType(Type type) Constructors in gnu.bytecode with parameters of type Type -
Uses of Type in gnu.expr
Modifier and TypeClassDescriptionstatic classNew helper Type class, used for "lenient" conversions.static classstatic classA marker type to indicate that void is invalid.classA class type implemented as a pair of an interface and a class.Modifier and TypeFieldDescriptionstatic Type[]Compilation.apply0argsstatic Type[]Compilation.apply1argsstatic Type[]Compilation.apply2argsstatic Type[]Compilation.applyNargsstatic final Type[]Compilation.int1ArgsLambdaExp.returnTypeIf non-null, the type of values returned by this function.static final Type[]Compilation.string1Argstatic final Type[]Compilation.sym1ArgDeclaration.typeThe type of the value of this Declaration.protected TypeExpression.typeLiteral.typeModifier and TypeMethodDescriptionCompilation.asBooleanValue(ConditionalTarget target, Type stackType) Hook for language-specific handling in ConditionalTarget.final Type"Coerce" a language-specific "type specifier" object to a Type.protected TypeCaseExp.calculateDatumsType()Computes the union type of the case expression datums.protected TypeApplyExp.calculateType()protected TypeBeginExp.calculateType()protected TypeCaseExp.calculateType()protected TypeClassExp.calculateType()The ClassType generated for this class.protected TypeExitExp.calculateType()protected TypeExpression.calculateType()protected TypeIfExp.calculateType()protected TypeLambdaExp.calculateType()protected final TypeLetExp.calculateType()protected TypeObjectExp.calculateType()protected final TypeQuoteExp.calculateType()protected TypeReferenceExp.calculateType()protected final TypeSetExp.calculateType()protected final TypeThisExp.calculateType()protected TypeTryExp.calculateType()Language.decodeType(Type javaType, String annotType, ParameterizedType parameterizedType) static TypePrimProcedure.decodeType(Type javaType, String[] annotTypes, int annotIndex, ParameterizedType parameterizedType, Language lang) static TypeStackTarget.forceLazy(Compilation comp, Type stackType, Type type) static TypeStackTarget.forceLazyIfNeeded(Compilation comp, Type stackType, Type type) Declaration.getImplementationType()InlineCalls.ProcedureInCallContext.getImplementationType()InlineCalls.ValueNeededType.getImplementationType()TypeValue.getImplementationType()The lower-level Type used to represent instances of this type.final TypeLanguage.getLangTypeFor(Type type) Language.getNamedType(String name) Get the correspondingTypefor a given name.PrimProcedure.getParameterType(int index) final Type[]PrimProcedure.getParameterTypes()final TypeQuoteExp.getRawType()final TypeLambdaExp.getReturnType()The return type of this function, i.e the type of its returned values.PrimProcedure.getReturnType()PrimProcedure.getReturnType(Expression[] args) ConditionalTarget.getType()ConsumerTarget.getType()final TypeDeclaration.getType()final TypeExpression.getType()Return the Type used to represent the values of this Expression.IgnoreTarget.getType()StackTarget.getType()abstract TypeTarget.getType()final TypeLanguage.getTypeFor(Expression exp) Language.getTypeFor(Expression exp, boolean lenient) Interpreting exp as a type specifier, get the actual type.Language.getTypeFor(Class clas) Language.getTypeFor(Object spec, boolean lenient) Convert a "type value" to a Type.Language.getTypeFor(String name) final TypeExpression.getTypeRaw()Declaration.loadFieldLocation(Declaration owner, Compilation comp) static Typefinal TypeLambdaExp.restArgType()Return the parameter type of the "keyword/rest" parameters.static TypeInlineCalls.typeForCalledFunction(Expression exp) Return a required type for procedure application context.static TypeModifier and TypeMethodDescriptionfinal DeclarationScopeExp.addDeclaration(Object name, Type type) Create a new declaration in the current Scope.Compilation.allocLocalField(Type type, String name) Compilation.asBooleanValue(ConditionalTarget target, Type stackType) Hook for language-specific handling in ConditionalTarget.InlineCalls.checkType(Expression exp, Type required) intintintfinal voidExpression.compile(Compilation comp, Type type) voidConditionalTarget.compileFromStack(Compilation comp, Type stackType) voidConsumerTarget.compileFromStack(Compilation comp, Type stackType) voidIgnoreTarget.compileFromStack(Compilation comp, Type stackType) voidStackTarget.compileFromStack(Compilation comp, Type stackType) abstract voidTarget.compileFromStack(Compilation comp, Type stackType) protected booleanStackTarget.compileFromStack0(Compilation comp, Type stackType) static voidPrimProcedure.compileInvoke(Compilation comp, Method method, Target target, boolean isTailCall, int op_code, Type returnType, boolean doFixUnsigned) Emit the actual invoke operation, after arguments have been pushed.static final voidPrimProcedure.compileRestArg(Type arg_type, ApplyExp exp, int startArg, int i, Compilation comp) static voidStackTarget.convert(Compilation comp, Type stackType, Type targetType) Language.decodeType(Type javaType, String annotType, ParameterizedType parameterizedType) static TypePrimProcedure.decodeType(Type javaType, String[] annotTypes, int annotIndex, ParameterizedType parameterizedType, Language lang) static voidCheckedTarget.emitCheckedCoerce(Compilation comp, LambdaExp proc, int argno, Type stackType, Type type, Variable argValue) static voidCheckedTarget.emitCheckedCoerce(Compilation comp, String procname, int argno, Type type) protected static voidStackTarget.emitCoerceFromObject(Type type, Compilation comp) Language.encodeType(Type type) Encode this type as a parseable string.protected MethodClassExp.findMethodForBridge(String mname, Type[] ptypes, Type rtype) Finds a like-named method suitable for bridging the given arg/return types (i.e.static TypeStackTarget.forceLazy(Compilation comp, Type stackType, Type type) static TypeStackTarget.forceLazyIfNeeded(Compilation comp, Type stackType, Type type) Language.formatType(Type type) final voidClassExp.generateBridgeMethod(Compilation comp, Method src_method, Type[] bridge_arg_types, Type bridge_return_type) Given an existing method and a desired bridge method signature, generates an appropriate bridge method.protected StackTargetCheckedTarget.getClonedInstance(Type type) protected StackTargetStackTarget.getClonedInstance(Type type) static TargetCheckedTarget.getInstance(Type type) static TargetCheckedTarget.getInstance(Type type, LambdaExp proc, int argno) static TargetCheckedTarget.getInstance(Type type, String procname, int argno) static TargetStackTarget.getInstance(Type type) final TypeLanguage.getLangTypeFor(Type type) static PrimProcedurePrimProcedure.getMethodFor(ClassType procClass, String name, Declaration decl, Type[] atypes, Language language) static PrimProcedurePrimProcedure.getMethodFor(Procedure pproc, Declaration decl, Type[] atypes, Language language) static TargetStackTarget.getTruncatingInstance(Type type) intGenericProc.isApplicable(Type[] args, Type restType) intPrimProcedure.isApplicable(Type[] argTypes, Type restType) static intInlineCalls.isCompatibleWithValue(Type required, Type expType) intInlineCalls.LenientExpectedType.isCompatibleWithValue(Type valueType) Compilation.letVariable(Object name, Type type, Expression init) Compilation.loopVariable(Object name, Type type, Expression init) Add a new loop variable, with initializer.static Typestatic PrimProcedurePrimProcedure.makeBuiltinBinary(int opcode, Type type) static PrimProcedurePrimProcedure.makeBuiltinUnary(int opcode, Type type) static ApplyExpCompilation.makeCoercion(Expression value, Type type) Convenience method to make an Expression that coerces a value.static TargetConsumerTarget.makeContextTarget(Compilation comp, Type type) Make a Target that uses the current CallContext's current Consumer.static QuoteExpQuoteExp.makeShared(Object value, Type type) InlineCalls.maybeInline(ApplyExp exp, Type required, Procedure proc) static voidLambdaExp.maybeSetReturnType(LambdaExp lexp, Type type) static TargetReturn a Target to push a value of specified type on JCM stack.final voidLambdaExp.setCoercedReturnType(Type returnType) final voidLambdaExp.setReturnType(Type returnType) voidPrimProcedure.setReturnType(Type retType) final voidfinal voidDeclaration.setType(Expression typeExp, Type type) voidvoidstatic TypevoidCalled for classes referenced in bytecode.Expression.validateApply(ApplyExp exp, InlineCalls visitor, Type required, Declaration decl) Apply inlining transformations on a given ApplyExp.LambdaExp.validateApply(ApplyExp exp, InlineCalls visitor, Type required, Declaration decl) QuoteExp.validateApply(ApplyExp exp, InlineCalls visitor, Type required, Declaration decl) ReferenceExp.validateApply(ApplyExp exp, InlineCalls visitor, Type required, Declaration decl) InlineCalls.visit(Expression exp, Type required) protected ExpressionInlineCalls.visitApplyExp(ApplyExp exp, Type required) final ExpressionInlineCalls.visitApplyOnly(ApplyExp exp, Type required) Visit an ApplyExp assuming function and arguments have been visited.protected ExpressionInlineCalls.visitBeginExp(BeginExp exp, Type required) protected ExpressionInlineCalls.visitCaseExp(CaseExp exp, Type required) protected ExpressionInlineCalls.visitClassExp(ClassExp exp, Type required) voidInlineCalls.visitDefaultArgs(LambdaExp exp, Type required) protected ExpressionInlineCalls.visitFluidLetExp(FluidLetExp exp, Type required) protected ExpressionInlineCalls.visitIfExp(IfExp exp, Type required) protected ExpressionInlineCalls.visitLambdaExp(LambdaExp exp, Type required) protected ExpressionInlineCalls.visitLetExp(LetExp exp, Type required) protected ExpressionInlineCalls.visitModuleExp(ModuleExp exp, Type required) protected ExpressionInlineCalls.visitQuoteExp(QuoteExp exp, Type required) protected ExpressionInlineCalls.visitReferenceExp(ReferenceExp exp, Type required) protected ExpressionInlineCalls.visitScopeExp(ScopeExp exp, Type required) protected ExpressionInlineCalls.visitSetExp(SetExp exp, Type required) protected ExpressionInlineCalls.visitTryExp(TryExp exp, Type required) ModifierConstructorDescriptionCatchClause(Object name, Type type, Expression body) CheckedTarget(Type type) CheckedTarget(Type type, LambdaExp proc, int argno) CheckedTarget(Type type, String procname, int argno) ConsumerTarget(Variable consumer, Type type) Declaration(Object name, Type type) PrimProcedure(int op_code, ClassType classtype, String name, Type retType, Type[] argTypes) PrimProcedure(int opcode, Type retType, Type[] argTypes) PrimProcedure(Method method, Type retType, Type[] argTypes) StackTarget(Type type) -
Uses of Type in gnu.kawa.functions
Methods in gnu.kawa.functions that return TypeModifier and TypeMethodDescriptionprotected TypeCurryExp.calculateType()static TypeCompileArith.combineType(Type t1, Type t2) CallCC.getReturnType(Expression[] args) CompileArith.getReturnType(Expression[] args) GetModuleClass.getReturnType(Expression[] args) MakeList.getReturnType(Expression[] args) ValuesMap.getReturnType(Expression[] args) static TypeArithmetic.kindType(int kind) Methods in gnu.kawa.functions with parameters of type TypeModifier and TypeMethodDescriptionstatic intArithmetic.classifyType(Type type) static TypeCompileArith.combineType(Type t1, Type t2) static voidstatic ObjectGetNamedPart.getTypePart(Type type, String name) static ExpressionCurryExp.validateApply(ApplyExp exp, InlineCalls visitor, Type required, Declaration decl) static ExpressionCompileMisc.validateApplyAppendValues(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileArith.validateApplyArithOp(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileMisc.validateApplyCallCC(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileMisc.validateApplyConstantFunction0(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileMisc.validateApplyConvert(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileMisc.validateApplyFormat(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) Validate-apply handling for "format".static ExpressionCompileMisc.validateApplyMakeDynamic(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileMisc.validateApplyMakeProcedure(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileMisc.validateApplyMakePromise(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileProcess.validateApplyRunProcess(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) Type-check and optimize RunProcess (i.e.static ExpressionCompileMisc.validateApplySimpleBoolean(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompilationHelpers.validateApplyToArgs(ApplyExp exp, InlineCalls visitor, Type required, Procedure applyToArgs) static ExpressionCompileMisc.validateApplyValuesMap(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileMisc.validateApplyWithExceptionHandler(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileValues.validateApplyWithValues(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileValues.validateCallWithValues(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileNamedPart.validateGetNamedInstancePart(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileNamedPart.validateGetNamedPart(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompilationHelpers.validateIsEqv(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileNamedPart.validateNamedPart(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileNamedPart.validateNamedPartSetter(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileNamedPart.validateSetNamedInstancePart(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileNamedPart.validateSetNamedPart(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompilationHelpers.validateSetter(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) -
Uses of Type in gnu.kawa.lispexpr
Subclasses of Type in gnu.kawa.lispexprModifier and TypeClassDescriptionclassType of multi-dimensional arrays.classA wrapper around a class type.classUse to implement some special types that convert differently.classThis matches a sequences of a specific length.Methods in gnu.kawa.lispexpr that return TypeModifier and TypeMethodDescriptionstatic TypeLangObjType.coerceToType(Object obj) static TypeLangObjType.coerceToTypeOrNull(Object type) static TypeLispLanguage.decodeArrayType(String name) GenArrayType.getComponentType()LangObjType.getElementType()GenArrayType.getImplementationType()LangPrimType.getImplementationType()LispLanguage.getNamedType(String name) LispLanguage.getPackageStyleType(String name) Try to get a type of the form lang:type.LispLanguage.getTypeFor(Class clas) LispLanguage.getTypeFor(Object spec, boolean lenient) Methods in gnu.kawa.lispexpr that return types with arguments of type TypeMethods in gnu.kawa.lispexpr with parameters of type TypeModifier and TypeMethodDescriptionintintintintvoidLangObjType.emitConvertFromPrimitive(Type stackType, CodeAttr code) static voidLangPrimType.emitTestIfNumber(Variable incoming, Declaration decl, Type type, Compilation comp) intLangObjType.isCompatibleWithValue(Type valueType) intLangPrimType.isCompatibleWithValue(Type valueType) intSeqSizeType.isCompatibleWithValue(Type valueType) voidReadTable.putReaderCtor(String key, Type type) Add a mapping for a SRFI-10 constructor tag.Constructors in gnu.kawa.lispexpr with parameters of type Type -
Uses of Type in gnu.kawa.reflect
Subclasses of Type in gnu.kawa.reflectModifier and TypeClassDescriptionclassThe type of lazy values - i.e.classAn array type where elements are copied from a sequence.classclassA type that matches some number of repetitions of a basetype.classFields in gnu.kawa.reflect declared as TypeMethods in gnu.kawa.reflect that return TypeModifier and TypeMethodDescriptionstatic TypeOccurrenceType.getBase()MappedArrayType.getComponentType()FieldLocation.getFType()Get the type of the field.LazyType.getImplementationType()MappedArrayType.getImplementationType()MultValuesType.getImplementationType()OccurrenceType.getImplementationType()SingletonType.getImplementationType()static TypeOccurrenceType.getInstance(Type base, int minOccurs, int maxOccurs) LazyType.getRawType()MappedArrayType.getRealType()InstanceOf.getReturnType(Expression[] args) StaticGet.getReturnType(Expression[] args) StaticSet.getReturnType(Expression[] args) TypeSwitch.getReturnType(Expression[] args) LazyType.getValueType()MultValuesType.getValueType(int index) static TypeOccurrenceType.itemPrimeType(Type type) XQuery formal semantics "prime type"static TypeMethods in gnu.kawa.reflect with parameters of type TypeModifier and TypeMethodDescriptionstatic intCompileReflect.checkKnownClass(Type type, Compilation comp) Check if class exists.intintintintstatic intOccurrenceType.compatibleWithCount(Type type, int count) static Typestatic voidCompileArrays.createArray(Type elementType, Compilation comp, Expression[] args, int start, int end) Optimized code generation of array creation with splicing support.static ArrayMakeArrayMake.getInstance(Type elementType) static LazyTypeLazyType.getInstance(ClassType rawType, Type valueType) static TypeOccurrenceType.getInstance(Type base, int minOccurs, int maxOccurs) static LazyTypeLazyType.getLazyType(Type valueType) static LazyTypeLazyType.getPromiseType(Type valueType) protected voidCompileBuildObject.init(ApplyExp exp, InlineCalls visitor, Type required, ObjectType ctype, ClassType caller) intMappedArrayType.isCompatibleWithValue(Type valueType) intMultValuesType.isCompatibleWithValue(Type valueType) static charOccurrenceType.itemCountCode(Type type) Returna a quantifer kind for a sequence type.static booleanOccurrenceType.itemCountIsOne(Type type) static booleanOccurrenceType.itemCountIsZeroOrOne(Type type) static intOccurrenceType.itemCountMax(Type type) static intOccurrenceType.itemCountMin(Type type) static intOccurrenceType.itemCountRange(Type type) Return a conservative estimate on the min/max number of items of a type.static TypeOccurrenceType.itemPrimeType(Type type) XQuery formal semantics "prime type"static CompileBuildObjectCompileBuildObject.make(ApplyExp exp, InlineCalls visitor, Type required, ObjectType ctype, ClassType caller) static Typestatic booleanstatic longClassMethods.selectApplicable(PrimProcedure[] methods, Type[] atypes, Type restType) Re-order the methods such that the ones that are definite applicable (all argtypes is subset of parameter type) are first; those possibly applicable next (argtype overlaps parameter types); and ending with those definitely not applicable (some argtype does overlap its parameter type).protected voidstatic ExpressionMakeAnnotation.validate(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileReflect.validateApplyInstanceOf(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileInvoke.validateApplyInvoke(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileReflect.validateApplySlotGet(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileReflect.validateApplySlotSet(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileReflect.validateApplyTypeSwitch(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileArrays.validateArrayGet(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileArrays.validateArrayLength(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileArrays.validateArrayNew(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileArrays.validateArraySet(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileInvoke.validateNamedInvoke(ApplyExp exp, InlineCalls visitor, ObjectType type, String name, PrimProcedure[] methods, Invoke iproc, Type required) static ExpressionCompileReflect.validateThrow(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) Constructors in gnu.kawa.reflect with parameters of type TypeModifierConstructorDescriptionArrayLength(Type element_type) MappedArrayType(Type elementType) MultValuesType(Type[] itemTypes) OccurrenceType(Type base, int minOccurs, int maxOccurs) -
Uses of Type in gnu.kawa.xml
Subclasses of Type in gnu.kawa.xmlModifier and TypeClassDescriptionclassMatches an attribute name pattern.classclassclassA SeqPosition used to represent a node in (usually) a TreeList.classclassAn atomic type as used in XML Schema and related languages.classA restriction (sub-range) of the integer type.classclassMethods in gnu.kawa.xml that return TypeModifier and TypeMethodDescriptionAttributeType.getImplementationType()ElementType.getImplementationType()NodeType.getImplementationType()ProcessingInstructionType.getImplementationType()XDataType.getImplementationType()static TypeNodeSetType.getInstance(Type base) CoerceNodes.getReturnType(Expression[] args) MakeAttribute.getReturnType(Expression[] args) MakeElement.getReturnType(Expression[] args) NodeConstructor.getReturnType(Expression[] args) SortNodes.getReturnType(Expression[] args) UnionNodes.getReturnType(Expression[] args) Methods in gnu.kawa.xml with parameters of type TypeModifier and TypeMethodDescriptionintintstatic TypeNodeSetType.getInstance(Type base) static ExpressionCompileXmlFunctions.validateApplyMakeUnescapedData(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileXmlFunctions.validateApplyTreeScanner(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) Constructors in gnu.kawa.xml with parameters of type Type -
Uses of Type in gnu.mapping
Methods in gnu.mapping that return TypeModifier and TypeMethodDescriptionMethodProc.getParameterType(int index) Procedure.getReturnType(Expression[] args) Semi-deprecated - instead should be set at Inline time.Methods in gnu.mapping with parameters of type TypeModifier and TypeMethodDescriptionintMethodProc.isApplicable(Type[] argTypes, Type restType) Test if method is applicable to an invocation with given arguments.Constructors in gnu.mapping with parameters of type Type -
Uses of Type in gnu.xquery.lang
Methods in gnu.xquery.lang that return TypeModifier and TypeMethodDescriptionXQuery.getStandardType(String name) XQuery.getTypeFor(Class clas) XQuery.getTypeFor(String name) Methods in gnu.xquery.lang with parameters of type Type -
Uses of Type in gnu.xquery.util
Methods in gnu.xquery.util that return TypeModifier and TypeMethodDescriptionOrderedMap.getReturnType(Expression[] args) RelativeStep.getReturnType(Expression[] args) ValuesFilter.getReturnType(Expression[] args) Methods in gnu.xquery.util with parameters of type TypeModifier and TypeMethodDescriptionstatic ExpressionCompileMisc.validateApplyCastableAs(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileMisc.validateApplyCastAs(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileMisc.validateApplyOrderedMap(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileMisc.validateApplyRelativeStep(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) static ExpressionCompileMisc.validateApplyValuesFilter(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) Inliner for theValuesFilterprocedure.static ExpressionCompileMisc.validateArithOp(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) Inliner for the ArithOp procedure.static ExpressionCompileMisc.validateBooleanValue(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) Inliner for the BooleanValue procedure.static ExpressionCompileMisc.validateCompare(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) Inliner for the Compare procedure. -
Uses of Type in kawa.lang
Modifier and TypeMethodDescriptionExtract a type from the car of a pair.Translator.exp2Type(Pair typeSpecPair, Declaration decl, SyntaxForm syntax) GetFieldProc.getReturnType(Expression[] args) SetFieldProc.getReturnType(Expression[] args) ModifierConstructorDescriptionGetFieldProc(ClassType ctype, String name, Type ftype, int flags) SetFieldProc(ClassType ctype, String name, Type ftype, int flags) -
Uses of Type in kawa.standard
Methods in kawa.standard that return TypeModifier and TypeMethodDescriptionstatic TypeScheme.exp2Type(Expression exp) Convert expression to a Type.static TypeScheme.getTypeValue(Expression exp) If exp is a "constant" Type, return that type, otherwise return null.Methods in kawa.standard that return types with arguments of type TypeMethods in kawa.standard with parameters of type Type