Uses of Interface
gw.lang.reflect.IType
-
-
Uses of IType in editor
Classes in editor that implement IType Modifier and Type Class Description class
PackageType
class
TypeInPackageType
Methods in editor that return IType Modifier and Type Method Description IType
GosuEditor. findExpectedTypeErrorAtCaret()
IType
PackageType. getArrayType()
IType
TypeInPackageType. getArrayType()
IType[]
BeanInfoPopup. getClasses()
IType
PackageType. getComponentType()
IType
TypeInPackageType. getComponentType()
IType
GosuEditor. getExpectedType()
IType
PackagePropertyInfo. getFeatureType()
IType
TypePropertyInfo. getFeatureType()
IType
PackageType. getGenericType()
IType
TypeInPackageType. getGenericType()
IType[]
PackageType. getInterfaces()
IType[]
TypeInPackageType. getInterfaces()
IType
PackageTypeLoader. getIntrinsicTypeByFullName(String fullyQualifiedName, boolean bSkipVerify)
IType
TypeInPackageTypeLoader. getIntrinsicTypeByFullName(String fullyQualifiedName)
IType
PackageType. getParameterizedType(IType... ofType)
IType
TypeInPackageType. getParameterizedType(IType... ofType)
IType
EditorHost. getParsedClass()
IType
IEditorHost. getParsedClass()
IType
BeanInfoPopup. getRootOfTree()
IType
TypeInPackageType. getSupertype()
IType
BeanInfoNode. getType()
IType
FileTree. getType()
IType
TypeInPackageTypeLoader. getType(String fullyQualifiedName)
IType
GosuEditor. getTypeAtCaretPosition()
IType[]
PackageType. getTypeParameters()
IType[]
TypeInPackageType. getTypeParameters()
static IType
ParseExceptionResolver. resolvePossibleContextTypesFromEmptyMethodCalls(IExpression expression, JTextComponent editor)
Methods in editor that return types with arguments of type IType Modifier and Type Method Description Set<? extends IType>
PackageType. getAllTypesInHierarchy()
Set<? extends IType>
TypeInPackageType. getAllTypesInHierarchy()
Set<IType>
PackageType. getCompoundTypeComponents()
Set<IType>
TypeInPackageType. getCompoundTypeComponents()
Methods in editor with parameters of type IType Modifier and Type Method Description boolean
ScriptabilityFilter. acceptFeature(IType beanType, IFeatureInfo fi)
IConstructorInfo
PackageTypeInfo. getCallableConstructor(IType... params)
IConstructorInfo
TypeInPackageTypeInfo. getCallableConstructor(IType... params)
IMethodInfo
PackageTypeInfo. getCallableMethod(CharSequence strMethod, IType... params)
IMethodInfo
TypeInPackageTypeInfo. getCallableMethod(CharSequence strMethod, IType... params)
IConstructorInfo
PackageTypeInfo. getConstructor(IType... params)
IConstructorInfo
TypeInPackageTypeInfo. getConstructor(IType... params)
IMethodInfo
PackageTypeInfo. getMethod(CharSequence methodName, IType... params)
IMethodInfo
TypeInPackageTypeInfo. getMethod(CharSequence methodName, IType... params)
IType
PackageType. getParameterizedType(IType... ofType)
IType
TypeInPackageType. getParameterizedType(IType... ofType)
static String
BeanInfoNode. getTypeName(IType type)
protected void
BeanInfoPopup. initLayout(IType[] classBeans, boolean bShowBeanRoots)
boolean
PackageType. isAssignableFrom(IType type)
boolean
TypeInPackageType. isAssignableFrom(IType type)
boolean
PackagePropertyInfo. isWritable(IType whosAskin)
boolean
TypePropertyInfo. isWritable(IType whosAskin)
static editor.MessageTree.IssueNode
MessageTree. makeIssueMessage(Diagnostic<? extends JavaFileObject> issue, IType type)
void
GosuEditor. setExpectedType(IType type)
void
GosuEditor. setProgramSuperType(IType baseClass)
void
IGosuPanel. setProgramSuperType(IType baseClass)
Method parameters in editor with type arguments of type IType Modifier and Type Method Description boolean
GosuPanel. compile(Set<IType> types)
Constructors in editor with parameters of type IType Constructor Description ArrayElementNode(IType type, int iSubscript)
BeanInfoNode(IType type)
BeanInfoNode(IType type, String strDisplayName)
BeanInfoPopup(IType classBean, String strMemberPath, boolean bConstrainByLastPathElement, GosuEditor editor, IFeatureFilter filter)
BeanInfoPopup(IType classBean, String strMemberPath, boolean bConstrainByLastPathElement, GosuEditor editor, IFeatureFilter filter, boolean bExpansion)
BeanInfoPopup(IType classBean, String strMemberPath, boolean bConstrainByLastPathElement, GosuEditor editor, IFeatureFilter filter, boolean bExpansion, boolean bForFeatureLiteral)
BeanInfoPopup(IType classBean, String strMemberPath, GosuEditor editor)
BeanTree(IType[] classBean, IType whosaskin)
BeanTree(IType[] classBean, IType whosaskin, boolean bIncludeOnlySimpleDescriptors, Boolean bIncludeStaticMembers)
BeanTree(IType classBean, IType whosaskin, String strDisplayName, boolean bIncludeOnlySimpleDescriptors, Boolean bIncludeStaticMembers)
BeanTree(IType classBean, IType whosaskin, String strDisplayName, boolean bIncludeOnlySimpleDescriptors, Boolean bIncludeStaticMembers, IFeatureFilter filter, boolean bExpansion)
BeanTree(IType classBean, IType whosaskin, String strDisplayName, String strNameConstraint, Boolean bIncludeStaticMembers)
BeanTree(IType classBean, IType whosaskin, String strDisplayName, String strNameConstraint, Boolean bIncludeStaticMembers, IFeatureFilter filter, boolean bExpansion)
PropertyNode(ITypeInfo owner, IPropertyInfo descriptor, boolean arrayicize, IType whosaskin)
StandardEditor(ILineInfoManager lineInfoRenderer, IType type)
SymbolPopup(ISymbol[] symbols, String strPrefix, GosuEditor editor, IType expectedType)
TypeNameValidator(IType expectedType)
TypeNameValidator(IType expectedType, ITypeUsesMap typeUsesMap)
-
Uses of IType in editor.plugin.typeloader
Methods in editor.plugin.typeloader with parameters of type IType Modifier and Type Method Description boolean
ITypeFactory. canAddBreakpoint(IType type, int line)
String
ITypeFactory. getTypeAtOffset(IType type, int offset)
void
ITypeFactory. parse(IType type, String strText, boolean forceCodeCompletion, boolean changed, EditorHost editor)
-
Uses of IType in editor.plugin.typeloader.java
Methods in editor.plugin.typeloader.java with parameters of type IType Modifier and Type Method Description boolean
JavaTypeFactory. canAddBreakpoint(IType type, int line)
String
JavaTypeFactory. getTypeAtOffset(IType type, int offset)
void
JavaTypeFactory. parse(IType type, String strText, boolean forceCodeCompletion, boolean changed, EditorHost editor)
-
Uses of IType in editor.plugin.typeloader.properties
Methods in editor.plugin.typeloader.properties with parameters of type IType Modifier and Type Method Description boolean
PropertiesTypeFactory. canAddBreakpoint(IType type, int line)
String
PropertiesTypeFactory. getTypeAtOffset(IType type, int offset)
void
PropertiesTypeFactory. parse(IType type, String strText, boolean forceCodeCompletion, boolean changed, EditorHost editor)
-
Uses of IType in editor.search
Methods in editor.search that return IType Modifier and Type Method Description IType
SearchElement. getEnclosingType()
IType
LocalVarFeatureInfo. getOwnersType()
static IType[]
FeatureUtil. getParamTypes(IParameterInfo[] paramInfos)
Methods in editor.search that return types with arguments of type IType Modifier and Type Method Description Set<IType>
IncrementalCompilerUsageSearcher. getTypes()
Constructors in editor.search with parameters of type IType Constructor Description IncrementalCompilerUsageSearcher(IType type)
SearchElement(Object element, IType enclosingType, int offset)
-
Uses of IType in editor.shipit
Methods in editor.shipit with parameters of type IType Modifier and Type Method Description boolean
Compiler. compile(IType type, ICompileConsumer consumer, MessagesPanel messages)
Method parameters in editor.shipit with type arguments of type IType Modifier and Type Method Description boolean
ExperimentBuild. compile(ICompileConsumer consumer, Set<IType> typesToCompile)
-
Uses of IType in editor.util
Methods in editor.util with parameters of type IType Modifier and Type Method Description static Icon
EditorUtilities. findIcon(IType type)
IRunConfig
Experiment. getOrCreateRunConfig(IType type)
static boolean
EditorUtilities. isRunnable(IType type)
-
Uses of IType in gw.internal.gosu.annotations
Methods in gw.internal.gosu.annotations with parameters of type IType Modifier and Type Method Description AnnotationMap
AnnotationMap. startJavaAnnotation(IType type)
-
Uses of IType in gw.internal.gosu.coercer
Methods in gw.internal.gosu.coercer with parameters of type IType Modifier and Type Method Description static IGosuClass
FunctionToInterfaceClassGenerator. getBlockToInterfaceConversionClass(IType typeToCoerceTo, IType enclosingType)
static IGosuClass
FunctionToInterfaceClassGenerator. getBlockToInterfaceConversionClass(String relativeNameWithEncodedSuffix, IType enclosingType)
-
Uses of IType in gw.internal.gosu.dynamic
Classes in gw.internal.gosu.dynamic that implement IType Modifier and Type Class Description class
DynamicType
Methods in gw.internal.gosu.dynamic that return IType Modifier and Type Method Description IType
DynamicType. getComponentType()
IType
DynamicPropertyInfo. getFeatureType()
IType[]
DynamicType. getInterfaces()
IType
DynamicMethodInfo. getReturnType()
IType
DynamicType. getSupertype()
IType
DynamicConstructorInfo. getType()
IType
DynamicTypeLoader. getType(String fullyQualifiedName)
Methods in gw.internal.gosu.dynamic with parameters of type IType Modifier and Type Method Description IConstructorInfo
DynamicTypeInfo. getCallableConstructor(IType... params)
IMethodInfo
DynamicTypeInfo. getCallableMethod(CharSequence method, IType... params)
IConstructorInfo
DynamicTypeInfo. getConstructor(IType... params)
IMethodInfo
DynamicTypeInfo. getMethod(CharSequence methodName, IType... params)
boolean
DynamicPropertyInfo. hasAnnotation(IType type)
boolean
DynamicType. isAssignableFrom(IType type)
boolean
DynamicPropertyInfo. isWritable(IType whosAskin)
Constructors in gw.internal.gosu.dynamic with parameters of type IType Constructor Description DynamicConstructorInfo(ITypeInfo dynamicTypeInfo, IType... paramTypes)
DynamicMethodInfo(ITypeInfo container, String strName, IType... paramTypes)
DynamicTypeInfo(IType type)
-
Uses of IType in gw.internal.gosu.ir.nodes
Methods in gw.internal.gosu.ir.nodes that return IType Modifier and Type Method Description IType
IRPropertyFromReducedDynamicPropertySymbol. getAssignableBoundedPropertyType(IReducedDynamicPropertySymbol rdps)
IType
IRPropertyFromReducedDynamicPropertySymbol. getBoundedPropertyType(IReducedDynamicPropertySymbol rdps)
IType
IRMethod. getOwningIType()
IType
IRMethodForConstructorSymbol. getOwningIType()
IType
IRMethodForDPSGetter. getOwningIType()
IType
IRMethodForDPSSetter. getOwningIType()
IType
IRMethodForPropertyGetter. getOwningIType()
IType
IRMethodForPropertySetter. getOwningIType()
IType
IRMethodForReducedDPSGetter. getOwningIType()
IType
IRMethodForReducedDPSSetter. getOwningIType()
IType
IRMethodFromConstructorInfo. getOwningIType()
IType
IRMethodFromJavaMethodInfo. getOwningIType()
IType
IRMethodFromMethod. getOwningIType()
IType
IRMethodFromMethodInfo. getOwningIType()
IType
IRProperty. getOwningIType()
IType
IRPropertyFromCapturedSymbol. getOwningIType()
IType
IRPropertyFromDynamicPropertySymbol. getOwningIType()
IType
IRPropertyFromDynamicSymbol. getOwningIType()
IType
IRPropertyFromPropertyInfo. getOwningIType()
IType
IRPropertyFromReducedDynamicPropertySymbol. getOwningIType()
IType
SyntheticIRMethod. getOwningIType()
IType
IRMethodForConstructorSymbol. getRuntimeEnclosingType(IType type)
IType
GosuClassIRType. getType()
IType
JavaClassIRType. getType()
Methods in gw.internal.gosu.ir.nodes with parameters of type IType Modifier and Type Method Description protected void
IRFeatureBase. addImplicitParameters(IType owner, IFunctionType functionType, boolean bStatic, List<IRType> params)
static IRMethod
IRMethodFactory. createConstructorIRMethod(IType gosuClass, DynamicFunctionSymbol dfs, int numberOfTypeParameters)
static IRMethod
IRMethodFactory. createConstructorIRMethod(IType owner, IRType[] parameterTypes)
static IRMethod
IRMethodFactory. createIRMethod(IType owner, String name, IRType returnType, List<IRType> parameterTypes, IRelativeTypeInfo.Accessibility accessibility, boolean bStatic)
static IRMethod
IRMethodFactory. createIRMethod(IType owner, String name, IType returnType, IType[] parameterTypes, IRelativeTypeInfo.Accessibility accessibility, boolean bStatic)
static GosuClassIRType
GosuClassIRType. get(IType type)
static IRType
IRTypeFactory. get(IType type)
protected List<IRType>
IRMethodForConstructorSymbol. getConstructorParamTypes(IType[] declaredParams, int iTypeParams, IType type)
Parameters are order like so: ctor( [OuterThis,] [This,] [CapturedSymbols,] [TypeParams,] [EnumParams,] params )IType
IRMethodForConstructorSymbol. getRuntimeEnclosingType(IType type)
boolean
IRMethodForConstructorSymbol. isNonStaticInnerClass(IType type)
protected IRType
IRFeatureBase. maybeReifyFieldType(IType owner, String name, IType originalType)
protected String
IRFeatureBase. resolveFieldName(IType owner, String name)
Constructors in gw.internal.gosu.ir.nodes with parameters of type IType Constructor Description IRMethodForConstructorSymbol(IType gosuClass, DynamicFunctionSymbol dfs, int numberOfTypeParameters)
SyntheticIRMethod(IType owner, String name, IRType returnType, List<IRType> parameterTypes, IRelativeTypeInfo.Accessibility accessibility, boolean aStatic)
-
Uses of IType in gw.internal.gosu.ir.transform
Methods in gw.internal.gosu.ir.transform that return IType Modifier and Type Method Description protected IType
AbstractElementTransformer. findComparableParamType(IType type)
static IType
AbstractElementTransformer. findDimensionType(IType type)
IType
AbstractElementTransformer. getConcreteType(IType type)
IType
GosuFragmentTransformationContext. getCurrentFunctionReturnType()
IType
TopLevelTransformationContext. getCurrentFunctionReturnType()
IType
TransformationContextBase. getCurrentFunctionReturnType()
static IType
AbstractElementTransformer. getRuntimeEnclosingType(IType type)
IType
TopLevelTransformationContext. getSuperType()
IType
TransformationContextBase. getSuperType()
static IType[]
AbstractElementTransformer. getTypes(IParameterInfo[] parameters)
IType
AbstractElementTransformer. maybeUnwrapMetaType(IType rootType)
Methods in gw.internal.gosu.ir.transform with parameters of type IType Modifier and Type Method Description protected boolean
AbstractElementTransformer. avoidVerifyError(IType owner, IRType rootType, IRelativeTypeInfo.Accessibility accessibility)
IRExpression
AbstractElementTransformer. boxValue(IType lhsType, IRExpression root)
IRExpression
AbstractElementTransformer. boxValueToType(IType toType, IRExpression root)
protected IRExpression
AbstractElementTransformer. checkCast(IType type, IRExpression expression)
protected IRExpression
AbstractElementTransformer. checkCast(IType type, IRExpression expression, boolean bGetConcreteTypeForMetaType)
protected IRExpression
AbstractElementTransformer. convertBoxedNullToPrimitive(IType boxedType)
protected IRExpression
AbstractElementTransformer. convertNullToPrimitive(IType primitive)
protected IRAssignmentStatement
AbstractElementTransformer. convertOperandToBig(IType bigType, Class bigClass, IType operandType, IRExpression operand, IRSymbol tempRet)
protected IRAssignmentStatement
AbstractElementTransformer. convertOperandToPrimitive(IType primitiveType, IType operandType, IRExpression operand, IRSymbol tempRet)
protected IRAssignmentStatement
AbstractElementTransformer. convertOperandToRational(IType operandType, IRExpression operand, IRSymbol tempRet)
protected IRExpression
AbstractElementTransformer. fastStringCoercion(IRExpression expr, IType operandType)
protected IType
AbstractElementTransformer. findComparableParamType(IType type)
static IType
AbstractElementTransformer. findDimensionType(IType type)
IJavaClassInfo[]
AbstractElementTransformer. getClassInfos(IType[] parameters)
IType
AbstractElementTransformer. getConcreteType(IType type)
protected IRType[]
AbstractElementTransformer. getConstructorParamTypes(IType[] declaredParams, int iTypeParams, IType type)
Parameters are order like so: ctor( [OuterThis,] [This,] [CapturedSymbols,] [TypeParams,] params )static ICustomExpressionRuntime
AbstractElementTransformer. getCustomRuntime(String id, IType enclosingClass)
IRExpression
AbstractElementTransformer. getDefaultConstIns(IType type)
static IRType
AbstractElementTransformer. getDescriptor(IType type)
static IRType
AbstractElementTransformer. getDescriptor(IType type, boolean getConcreteTypeForMetaType)
protected IRExpression
AbstractElementTransformer. getInstanceField(IType owner, String strField, IRType fieldType, IRelativeTypeInfo.Accessibility accessibility, IRExpression root)
static IType
AbstractElementTransformer. getRuntimeEnclosingType(IType type)
protected IRExpression
AbstractElementTransformer. getStaticField(IType owner, String strField, IRType fieldType, IRelativeTypeInfo.Accessibility accessibility)
protected IRExpression
AbstractElementTransformer. handleCustomExpressionRuntime(ICustomExpressionRuntime customRuntime, IType expectedType)
static Object
AbstractElementTransformer. initMultiArray(IType componentType, Object instance, int iDimension, int[] sizes)
static boolean
AbstractElementTransformer. isBigType(IType type)
static boolean
AbstractElementTransformer. isBoxedIntType(IType type)
static boolean
AbstractElementTransformer. isBytecodeType(IType type)
static boolean
AbstractElementTransformer. isEnhancementType(IType type)
protected boolean
AbstractElementTransformer. isHandledByCustomCoercion(IType operandType)
boolean
GosuClassTransformationContext. isIllegalProtectedCall(IType declaringClass, IRType root, IRelativeTypeInfo.Accessibility accessibility)
boolean
GosuFragmentTransformationContext. isIllegalProtectedCall(IType declaringClass, IRType root, IRelativeTypeInfo.Accessibility accessibility)
boolean
TopLevelTransformationContext. isIllegalProtectedCall(IType declaringClass, IRType root, IRelativeTypeInfo.Accessibility accessibility)
static boolean
AbstractElementTransformer. isIntType(IType from)
static boolean
AbstractElementTransformer. isNonBigBoxedNumberType(IType type)
static boolean
AbstractElementTransformer. isNonStaticInnerClass(IType type)
static boolean
AbstractElementTransformer. isNumberType(IType type)
protected boolean
AbstractElementTransformer. isPrimitiveNumberType(IType type)
boolean
AbstractElementTransformer. isProgram(IType type)
boolean
AbstractElementTransformer. isProgramOrEnclosedInProgram(IType type)
protected IRExpression
AbstractElementTransformer. makeArrayViaTypeInfo(IType atomicType, List<Expression> valueExpressions)
protected IRExpression
AbstractElementTransformer. makeEmptyArrayViaTypeInfo(IType atomicType, List<Expression> sizeExpressions)
IType
AbstractElementTransformer. maybeUnwrapMetaType(IType rootType)
protected IRExpression
AbstractElementTransformer. numberConvert(IType from, IType to, IRExpression root)
IRExpression
AbstractElementTransformer. pushArrayOfTypes(IType[] types)
protected void
AbstractElementTransformer. pushCapturedSymbols(IType type, List<IRExpression> args, boolean ignoreExternalSymbols)
void
GosuClassTransformationContext. pushEnumNameAndOrdinal(IType type, List<IRExpression> args)
void
GosuClassTransformer. pushEnumNameAndOrdinal(IType type, List<IRExpression> args)
void
GosuFragmentTransformationContext. pushEnumNameAndOrdinal(IType type, List<IRExpression> args)
void
TopLevelTransformationContext. pushEnumNameAndOrdinal(IType type, List<IRExpression> args)
IRExpression
AbstractElementTransformer. pushLazyType(IType type)
IRExpression
AbstractElementTransformer. pushLazyType(IType type, IGenericTypeVariable[] tvs)
protected IRExpression
AbstractElementTransformer. pushOuter(IType outerTarget)
protected IRExpression
AbstractElementTransformer. pushOuter(IType outerTarget, IType currentOuter, IRExpression root)
IRExpression
AbstractElementTransformer. pushRuntimeTypeOfTypeVar(IType type)
protected IRExpression
AbstractElementTransformer. pushThisOrOuter(IType currentType)
IRExpression
AbstractElementTransformer. pushType(IType type)
IRExpression
AbstractElementTransformer. pushType(IType type, boolean bKeepLiteralType)
protected int
AbstractElementTransformer. pushTypeParametersForConstructor(IExpression expr, IType type, List<IRExpression> args, boolean bSuperCall, boolean genericJavaInterop)
static boolean
AbstractElementTransformer. requiresExternalSymbolCapture(IType type)
protected IRStatement
AbstractElementTransformer. setField(IType owner, String strField, IRType fieldType, IRelativeTypeInfo.Accessibility accessibility, IRExpression root, IRExpression value)
protected IRStatement
AbstractElementTransformer. setInstanceField(IType owner, String strField, IRType fieldType, IRelativeTypeInfo.Accessibility accessibility, IRExpression root, IRExpression value)
protected IRStatement
AbstractElementTransformer. setStaticField(IType owner, String strField, IRType fieldType, IRelativeTypeInfo.Accessibility accessibility, IRExpression value)
boolean
GosuClassTransformationContext. shouldUseReflection(IType declaringClass, IRType root, IRelativeTypeInfo.Accessibility accessibility)
boolean
GosuFragmentTransformationContext. shouldUseReflection(IType declaringClass, IRType root, IRelativeTypeInfo.Accessibility accessibility)
boolean
TopLevelTransformationContext. shouldUseReflection(IType declaringClass, IRType root, IRelativeTypeInfo.Accessibility accessibility)
IRExpression
AbstractElementTransformer. unboxValueFromType(IType boxedType, IRExpression root)
IRExpression
AbstractElementTransformer. unboxValueToType(IType lhsType, IRExpression expression)
-
Uses of IType in gw.internal.gosu.ir.transform.expression
Methods in gw.internal.gosu.ir.transform.expression that return IType Modifier and Type Method Description protected abstract IType
AbstractMemberExpansionTransformer. getPropertyOrMethodType(IType rootComponentType, IType compType)
protected IType
BeanMethodCallExpansionTransformer. getPropertyOrMethodType(IType rootComponentType, IType compType)
protected IType
MemberExpansionAccessTransformer. getPropertyOrMethodType(IType rootComponentType, IType compType)
Methods in gw.internal.gosu.ir.transform.expression with parameters of type IType Modifier and Type Method Description static Object
TypeAsTransformer. coerceValue(Object value, IType type, ICoercer coercer)
static Object
EvalExpressionTransformer. compileAndRunEvalSource(Object source, Object outer, Object[] capturedValues, LazyTypeResolver[] immediateFuncTypeParams, IType enclosingClass, int iLineNum, int iColumn, String evalExprText)
static Object
EvalExpressionTransformer. compileAndRunEvalSource(Object source, Object outer, Object[] capturedValues, LazyTypeResolver[] immediateFuncTypeParams, IType enclosingClass, IParsedElement evalExpr)
static Object
EvalExpressionTransformer. compileAndRunEvalSource(Object source, Object outer, Object[] capturedValues, LazyTypeResolver[] immediateFuncTypeParams, IType enclosingClass, IParsedElement evalExpr, ISymbolTable compileTimeLocalContextSymbols, IExternalSymbolMap runtimeLocalSymbolValues)
protected IRExpression
AbstractMemberExpansionTransformer. compileExpansionDirectlyToArray(IType rootType, IType rootComponentType, IType resultType, IType resultCompType)
If this method is being called, it means we're expanding a one-dimensional array or collection, with a right hand side that evaluates to a property that's not an array or collection.protected IRExpression
AbstractMemberExpansionTransformer. compileExpansionUsingArrayList(IType rootType, IType rootComponentType, IType resultType, IType resultCompType, IType propertyType)
This method will compile the expansion using an ArrayList to collect temporary results.protected IRExpression
AbstractMemberExpansionTransformer. compileExpansionWithNoReturnValue(IType rootType, IType rootComponentType, IType resultType, IType resultCompType)
protected abstract IRExpression
AbstractMemberExpansionTransformer. createIterationExpr(IType rootComponentType, String identifierName, IType identifierType, IType compType)
Subclassers need only implement this method for the iteration expression i.e., the singular form of the expansion expr.protected IRExpression
BeanMethodCallExpansionTransformer. createIterationExpr(IType rootComponentType, String identifierName, IType identifierType, IType compType)
protected IRExpression
MemberExpansionAccessTransformer. createIterationExpr(IType rootComponentType, String irIdentifierSym, IType identifierType, IType compType)
protected abstract IType
AbstractMemberExpansionTransformer. getPropertyOrMethodType(IType rootComponentType, IType compType)
protected IType
BeanMethodCallExpansionTransformer. getPropertyOrMethodType(IType rootComponentType, IType compType)
protected IType
MemberExpansionAccessTransformer. getPropertyOrMethodType(IType rootComponentType, IType compType)
static Object
AbstractMemberExpansionTransformer. listToArray(List l, IType compType)
static String
EvalExpressionTransformer. makeEvalKey(IType enclosingClass, int iLineNum, int iColumnNum, String evalExprText)
static void
ArrayAccessTransformer. maybeAutoInsert(Object obj, int index, IType typeToAutoCreate)
-
Uses of IType in gw.internal.gosu.ir.transform.statement
Methods in gw.internal.gosu.ir.transform.statement with parameters of type IType Modifier and Type Method Description static IRForEachStatement
ForEachStatementTransformer. makeLoop(TopLevelTransformationContext cc, IRExpression rootExpression, IType type, Symbol identifier, Symbol indexSymbol)
Helper for creating iterative loops. -
Uses of IType in gw.internal.gosu.ir.transform.util
Methods in gw.internal.gosu.ir.transform.util with parameters of type IType Modifier and Type Method Description static IRelativeTypeInfo.Accessibility
AccessibilityUtil. forType(IType type)
static IRType
IRTypeResolver. getDescriptor(IType type)
static IRType
IRTypeResolver. getDescriptor(IType type, boolean getConcreteTypeForMetaType)
IRType
IRTypeResolverAPIWrapper. getDescriptor(IType type)
static IJavaClassInfo
IRTypeResolver. getJavaBackedClass(IType arg)
static boolean
RequiresReflectionDeterminer. isCallingClassEnclosedInDifferentPackageFromDeclaringSuperclass(ICompilableTypeInternal callingClass, IType declaringClass, IRType root, IRelativeTypeInfo.Accessibility accessibility)
static boolean
RequiresReflectionDeterminer. shouldUseReflection(IType declaringClass, ICompilableTypeInternal compilingClass, IRType root, IRelativeTypeInfo.Accessibility accessibility)
static boolean
RequiresReflectionDeterminer. shouldUseReflection(IType declaringClass, ICompilableTypeInternal compilingClass, IRelativeTypeInfo.Accessibility accessibility)
Method parameters in gw.internal.gosu.ir.transform.util with type arguments of type IType Modifier and Type Method Description static List<IRType>
IRTypeResolver. getDescriptors(List<IType> types)
-
Uses of IType in gw.internal.gosu.parser
Subinterfaces of IType in gw.internal.gosu.parser Modifier and Type Interface Description interface
IBlockClassInternal
interface
ICompilableTypeInternal
interface
IGosuClassInternal
interface
IGosuEnhancementInternal
interface
IGosuProgramInternal
interface
IGosuTemplateInternal
interface
IJavaEnumTypeInternal
interface
IJavaTypeInternal
Classes in gw.internal.gosu.parser that implement IType Modifier and Type Class Description class
AbstractTypeRef
This is what the proxy methods look like.class
BlockClass
class
CompoundType
class
DelegateFunctionType
class
ErrorType
A type representing the Error state in the type system.class
GosuArrayClass
class
GosuClass
class
GosuClassFragment
class
GosuEnhancement
class
GosuProgram
class
JavaEnumType
Provides an implementation of IEnumeratedType for java enumsclass
MetaType
class
NamespaceType
class
SyntheticClass
A base class for creating synthetic Gosu classes that do not correspond directly to a Gosu classclass
TypeVariableArrayType
class
TypeVariableType
Fields in gw.internal.gosu.parser declared as IType Modifier and Type Field Description protected IType
AbstractTypeRef. _type
protected IType
Expression. _type
static IType
GosuParser. PENDING_BOUNDING_TYPE
Fields in gw.internal.gosu.parser with type parameters of type IType Modifier and Type Field Description static LockingLazyVar<IType>
MetaType. DEFAULT_TYPE_TYPE
Methods in gw.internal.gosu.parser with type parameters of type IType Modifier and Type Method Description static <E extends IType>
ETypeLord. getPureGenericType(E type)
Methods in gw.internal.gosu.parser that return IType Modifier and Type Method Description protected IType
AbstractTypeRef. _getType()
IType
GosuVarPropertyInfo. assignActualType(IType type)
IType
TypeLoaderAccess. boundTypes(IType targetType, List<IType> typesToBound)
static IType
TypeLord. boundTypes(IType type, List<IType> typesToBound)
static IType
TypeLord. boundTypes(IType type, List<IType> typesToBound, boolean bKeepTypeVars)
static IType
TypeLord. deriveParameterizedTypeFromContext(IType type, IType contextType)
static IType
TypeLord. findGreatestLowerBound(IType t1, IType t2)
static IType
GosuParser. findImpl(IType typeToInit)
static IType
TypeLord. findLeastUpperBound(List<? extends IType> types)
static IType
TypeLord. findParameterizedStructureType(IType structureType, IType from)
IType
TypeLoaderAccess. findParameterizedType(IType type, IType rhsType)
static IType
TypeLord. findParameterizedType(IType sourceType, IType rawGenericType)
Finds a parameterized type in the ancestry of a given type.static IType
TypeLord. findParameterizedType(IType sourceType, IType rawGenericType, boolean bForAssignability)
static IType
TypeLord. findParameterizedType_Reverse(IType sourceType, IType targetType)
static IType
TypeLord. findParameterizedTypeInHierarchy(IType sourceType, IType rawGenericType)
IType
GosuClass. findProxiedClassInHierarchy()
static IType
LocalClassForNameHack. forName(String name)
static IType
CompoundType. get(IType... types)
static IType
CompoundType. get(Set<IType> types)
IType
TypeLoaderAccess. get(IJavaClassInfo javaClassInfo)
IType
TypeLoaderAccess. get(Class<?> javaClass)
Gets the intrinsic type for a given class.IType
AsmTypeJavaClassType. getActualType(TypeVarToTypeMap typeMap)
IType
AsmTypeJavaClassType. getActualType(TypeVarToTypeMap typeMap, boolean bKeepTypeVars)
IType
TypeJavaClassType. getActualType(TypeVarToTypeMap typeMap)
IType
TypeJavaClassType. getActualType(TypeVarToTypeMap typeMap, boolean bKeepTypeVars)
IType
TypeLoaderAccess. getActualType(IType type, TypeVarToTypeMap actualParamByVarName, boolean bKeepTypeVars)
static IType
TypeLord. getActualType(IType type, TypeVarToTypeMap actualParamByVarName)
static IType
TypeLord. getActualType(IType type, TypeVarToTypeMap actualParamByVarName, boolean bKeepTypeVars)
static IType
TypeLord. getActualType(IType type, TypeVarToTypeMap actualParamByVarName, boolean bKeepTypeVars, Set<IType> visited)
static IType
TypeLord. getActualType(IAsmType type, TypeVarToTypeMap actualParamByVarName)
static IType
TypeLord. getActualType(IAsmType type, TypeVarToTypeMap actualParamByVarName, boolean bKeepTypeVars, LinkedHashSet<IAsmType> recursiveTypes)
static IType
TypeLord. getActualType(Type type, TypeVarToTypeMap actualParamByVarName)
static IType
TypeLord. getActualType(Type type, TypeVarToTypeMap actualParamByVarName, boolean bKeepTypeVars)
static IType
TypeLord. getActualType(Type type, TypeVarToTypeMap actualParamByVarName, boolean bKeepTypeVars, LinkedHashSet<Type> recursiveTypes)
IType
GosuBaseAttributedFeatureInfo. getActualTypeInContainer(IFeatureInfo container, IType type)
IType
ContextType. getAlternateType()
IType[]
DynamicFunctionSymbol. getArgTypes()
IType[]
ReducedDynamicFunctionSymbol. getArgTypes()
IType
CompoundType. getArrayType()
IType
ErrorType. getArrayType()
IType
GosuClass. getArrayType()
IType
MetaType. getArrayType()
IType
NamespaceType. getArrayType()
IType
TypeVariableType. getArrayType()
IType
GosuPropertyInfo. getAssignableFeatureType()
IType
JavaPropertyInfo. getAssignableFeatureType()
IType
DynamicPropertySymbol. getAssignableType()
IType
ReducedDynamicPropertySymbol. getAssignableType()
IType
PropertyNotFoundException. getBeanClass()
IType
BlockClass. getBlockType()
IType
GenericTypeVariable. getBoundingType()
IType
TypeVariableType. getBoundingType()
static IType
TypeLord. getBoxedTypeFromPrimitiveType(IType primitiveType)
IType
TypeLoaderAccess. getBoxType(IType primitiveType)
IType
TypeLoaderAccess. getByFullName(String fullyQualifiedName)
Gets an intrinsic type based on a fully-qualified name.IType
TypeLoaderAccess. getByFullNameIfValid(String fullyQualifiedName)
Gets a type based on a fully-qualified name.IType
TypeLoaderAccess. getByFullNameIfValidNoJava(String fullyQualifiedName)
IType
TypeLoaderAccess. getByRelativeName(String relativeName)
IType
TypeLoaderAccess. getByRelativeName(String relativeName, ITypeUsesMap typeUses)
Gets an intrinsic type based on a relative name.IType
ModuleTypeLoader. getCachedType(String fqn)
static IType
JavaTypeInfo. getCompilingClass(IType type)
static IType
GosuClassCompilingStack. getCompilingType(String typeName)
IType
TypeLoaderAccess. getCompilingType(String strName)
IType
CompoundType. getComponentType()
IType
ErrorType. getComponentType()
IType
GosuClass. getComponentType()
IType
MetaType. getComponentType()
IType
NamespaceType. getComponentType()
IType
TypeLoaderAccess. getComponentType(IType valueType)
IType
TypeVariableType. getComponentType()
IType
TypeLoaderAccess. getCompoundType(Set<IType> types)
static IType
TypeLord. getConcreteType(IType type)
IType
GosuPropertyInfo. getContainingType()
IType
Expression. getContextType()
Context type is the type this literal value evaluates as in the context of a containing expression e.g., given the expression, n == "42", the literal "42" is always converted to a Number.IType
GosuProgram. getContextType()
static IType
TypeLord. getCoreType(IType type)
static IType
GosuClassCompilingStack. getCurrentCompilingType()
IType
TypeLoaderAccess. getCurrentCompilingType()
IType
InitializerSymbol. getDeclaringTypeOfProperty()
IType
TypeLoaderAccess. getDefaultParameterizedType(IType type)
static IType
TypeLord. getDefaultParameterizedType(IType type)
IType
TypeLoaderAccess. getDefaultParameterizedTypeWithTypeVars(IType type)
static IType
TypeLord. getDefaultParameterizedTypeWithTypeVars(IType type)
static IType
TypeLord. getDefaultParameterizedTypeWithTypeVars(IType type, TypeVarToTypeMap map)
static IType
TypeLord. getDefaultParameterizedTypeWithTypeVars(IType type, TypeVarToTypeMap map, Set<IType> visited)
IType
TypeLoaderAccess. getDefaultType(String name)
IType
BlockClass. getEnclosingNonBlockType()
IType
GosuClass. getEnclosingNonBlockType()
IType
ICompilableTypeInternal. getEnclosingNonBlockType()
IType
IGosuClassInternal. getEnclosingNonBlockType()
IType
AsmClassJavaClassInfo. getEnclosingType()
IType
ClassJavaClassInfo. getEnclosingType()
IType
CompoundType. getEnclosingType()
IType
ErrorType. getEnclosingType()
IType
MetaType. getEnclosingType()
IType
ParseTree. getEnclosingType()
IType
TypeVariableType. getEnclosingType()
IType
GosuClass. getEnclosingTypeReference()
IType
GosuEnhancement. getEnhancedType()
IType
IJavaEnumTypeInternal. getEnumType()
IType
JavaEnumType. getEnumType()
IType
GosuExceptionInfo. getExceptionType()
IType
TypeLoaderAccess. getExpandableComponentType(IType type)
static IType
TypeLord. getExpandableComponentType(IType type)
static IType
TypeLord. getExpandableComponentType(IType type, boolean bCore)
IType
GosuProgram. getExpectedReturnType()
IType
ArrayExpansionPropertyInfo. getFeatureType()
Make an array type from the delegate's type, if it's not already an array.IType
GosuMethodParamInfo. getFeatureType()
IType
GosuPropertyInfo. getFeatureType()
IType
GosuVarPropertyInfo. getFeatureType()
IType
JavaFieldPropertyInfo. getFeatureType()
IType
JavaMethodParamInfo. getFeatureType()
IType
JavaPropertyInfo. getFeatureType()
IType
MetaTypeTypeInfo.TypeProperty. getFeatureType()
IType
ParameterDescriptorJavaParameterDescriptor. getFeatureType()
IType
StaticPropertyInfo. getFeatureType()
IType
TypeLoaderAccess. getFromObject(Object object)
Returns the intrinsic type for the given Object.IType
TypeLoaderAccess. getFunctionalInterface(IFunctionType type)
static IType
TypeLord. getFunctionalInterface(IFunctionType funcType)
IType
CompoundType. getGenericType()
IType
ErrorType. getGenericType()
IType
MetaType. getGenericType()
IType
NamespaceType. getGenericType()
IType
TypeVariableType. getGenericType()
IType[]
CompoundType. getInterfaces()
IType[]
ErrorType. getInterfaces()
IType[]
GosuClass. getInterfaces()
IType[]
MetaType. getInterfaces()
IType[]
NamespaceType. getInterfaces()
IType[]
TypeVariableType. getInterfaces()
IType
TypeLoaderAccess. getIntrinsicTypeByFullName(String fullyQualifiedName)
IType
DefaultTypeLoader. getIntrinsicTypeFromObject(Object object)
IType
ITypeLoaderStackInternal. getIntrinsicTypeFromObject(Object object)
IType
ModuleTypeLoader. getIntrinsicTypeFromObject(Object object)
IType
TypeLoaderAccess. getIntrinsicTypeFromObject(Object object)
IType
AsmClassJavaClassInfo. getJavaType()
IType
ClassJavaClassInfo. getJavaType()
IType
TypeLoaderAccess. getJavaType(Class javaClass)
IType
DefaultEntityAccess. getKeyType()
static IType
TypeLord. getLeastUpperBoundForPrimitiveTypes(IType t0, IType t1)
IType[]
GosuClass. getLoaderParameterizedTypes()
IType[]
IParameterizableType. getLoaderParameterizedTypes()
static IType
TypeLord. getOuterMostEnclosingClass(IType innerClass)
IType
ArrayExpansionMethodInfo. getOwnersType()
IType
ArrayExpansionPropertyInfo. getOwnersType()
IType
ClassAnnotationInfo. getOwnersType()
IType
ErrorTypeInfo. getOwnersType()
IType
GosuExceptionInfo. getOwnersType()
IType
RepeatableContainerAnnotationInfo. getOwnersType()
IType[]
AbstractGenericMethodInfo. getParameterizedParameterTypes(IType... typeParams)
IType[]
GosuPropertyInfo. getParameterizedParameterTypes(IType... typeParams)
IType[]
GosuVarPropertyInfo. getParameterizedParameterTypes(IType... typeParams)
IType[]
JavaMethodInfo. getParameterizedParameterTypes(IType... typeParams)
IType[]
AbstractGenericMethodInfo. getParameterizedParameterTypes2(IType ownersType, IType... typeParams)
IType[]
GosuPropertyInfo. getParameterizedParameterTypes2(IType ownersType, IType... typeParams)
IType[]
GosuVarPropertyInfo. getParameterizedParameterTypes2(IType ownersType, IType... typeParams)
IType[]
JavaMethodInfo. getParameterizedParameterTypes2(IType ownersType, IType... typeParams)
IType
AbstractGenericMethodInfo. getParameterizedReturnType(IType... typeParams)
IType
GosuPropertyInfo. getParameterizedReturnType(IType... typeParams)
IType
GosuVarPropertyInfo. getParameterizedReturnType(IType... typeParams)
IType
JavaMethodInfo. getParameterizedReturnType(IType... typeParams)
IType
CompoundType. getParameterizedType(IType... ofType)
IType
ErrorType. getParameterizedType(IType... ofType)
IType
NamespaceType. getParameterizedType(IType... ofType)
IType
TypeVariableType. getParameterizedType(IType... ofType)
IType
TypeLoaderAccess. getPrimitiveType(IType boxType)
IType
GosuIndustrialParkImpl. getPureGenericType(IType type)
IType
GosuAnnotationInfo. getRepeatableContainer()
IType
ArrayExpansionMethodInfo. getReturnType()
IType
AsmMethodJavaClassMethod. getReturnType()
IType
DynamicFunctionSymbol. getReturnType()
IType
Expression. getReturnType()
IType
GosuMethodInfo. getReturnType()
IType
GosuProgram. getReturnType()
IType
JavaMethodInfo. getReturnType()
IType
MethodJavaClassMethod. getReturnType()
IType
ReducedDynamicFunctionSymbol. getReturnType()
IType
Statement. getReturnType()
static IType
TypeLord. getRootType(IType type)
IType
GosuVarPropertyInfo. getScopedSymbolType()
IType
CompoundType. getSupertype()
IType
ErrorType. getSupertype()
IType
GosuClass. getSupertype()
IType
GosuEnhancement. getSupertype()
IType
MetaType. getSupertype()
IType
TypeVariableType. getSupertype()
static IType
TypeLord. getTopLevelType(IType type)
IType
ClassAnnotationInfo. getType()
IType
ContextType. getType()
IType
DefaultTypeLoader. getType(String fullyQualifiedName)
IType
Expression. getType()
Returns this Expression's IType.IType
GosuAnnotation. getType()
IType
GosuAnnotationInfo. getType()
IType
GosuConstructorInfo. getType()
IType
GosuDocAnnotation. getType()
IType
IGosuAnnotation. getType()
IType
IMetadataProvider. getType(Object intrinsicType)
IType
JavaConstructorInfo. getType()
IType
MemberFieldSymbol. getType()
IType
MetaType. getType()
IType
ReducedSymbol. getType()
IType
RepeatableContainerAnnotationInfo. getType()
IType
Symbol. getType()
Returns the Symbol's type.IType
ITypeLoaderStackInternal. getTypeByFullNameIfValid(String fullyQualifiedName, boolean skipJava)
IType
ModuleTypeLoader. getTypeByFullNameIfValid(String fullyQualifiedName, boolean skipJava)
IType
TypeLoaderAccess. getTypeByRelativeNameIfValid_NoGenerics(String relativeName, ITypeUsesMap typeUses)
IType
TypeLoaderAccess. getTypeFromObject(Object obj)
protected IType
Expression. getTypeImpl()
IType[]
CompoundType. getTypeParameters()
IType[]
ErrorType. getTypeParameters()
IType[]
GosuClass. getTypeParameters()
IType[]
MetaType. getTypeParameters()
IType[]
NamespaceType. getTypeParameters()
IType[]
TypeVariableType. getTypeParameters()
IType
ContextType. getUnboundType()
IType
ContextInferenceManager. infer(Expression e)
static IType
TypeLord. makeDefaultParameterizedType(IType type)
static IType
TypeLord. makeParameteredType(IType genType, TypeVarToTypeMap inferenceMap)
IType
TypeLoaderAccess. parseType(String typeString)
Converts a String name of a type into an IType.IType
TypeLoaderAccess. parseType(String typeString, ITypeUsesMap typeUsesMap)
IType
TypeLoaderAccess. parseType(String typeString, TypeVarToTypeMap actualParamByVarName)
IType
TypeLoaderAccess. parseType(String typeString, TypeVarToTypeMap actualParamByVarName, ITypeUsesMap typeUsesMap)
static IType
TypeLord. parseType(String strParameterizedTypeName, TypeVarToTypeMap actualParamByVarName)
static IType
TypeLord. parseType(String strParameterizedTypeName, TypeVarToTypeMap actualParamByVarName, ITypeUsesMap typeUsesMap)
static IType
TypeLord. replaceRawGenericTypesWithDefaultParameterizedTypes(IType type)
IType
TypeLoaderAccess. replaceTypeVariableTypeParametersWithBoundingTypes(IType type, IType enclosingType)
static IType
TypeLord. replaceTypeVariableTypeParametersWithBoundingTypes(IType type)
static IType
TypeLord. replaceTypeVariableTypeParametersWithBoundingTypes(IType type, IType enclType)
IType
GosuClass. resolveRelativeInnerClass(String strRelativeInnerClassName, boolean bForce)
static IType
ParserBase. resolveRuntimeType(ArithmeticExpression expr, IType lhsType, int op, IType rhsType)
protected IType
ParserBase. resolveType(ParsedElement parsedElement, IType lhsType, int op, IType rhsType)
static IType
ParserBase. resolveType(IType lhsType, int op, IType rhsType)
IType
TypeUsesMap. resolveType(String strRelativeName)
protected IType
ParserBase. resolveTypeForArithmeticExpression(ParsedElement parsedElement, IType lhsType, String op, IType rhsType)
protected IType
ParserBase. verifyTypesComparable(ParsedElement element, IType lhsType, IType rhsType, boolean bBiDirectional, boolean bErrorIfCoercion)
protected IType
ParserBase. verifyTypesComparable(ParsedElement element, IType lhsType, IType rhsType, boolean bBiDirectional, boolean bErrorIfCoercion, IParserState state)
Methods in gw.internal.gosu.parser with parameters of type IType Modifier and Type Method Description static void
TypeLord. addAllClassesInClassHierarchy(IType type, Set<IType> set)
static void
TypeLord. addAllClassesInClassHierarchy(IType type, Set<IType> set, boolean bForce)
static TypeVarToTypeMap
JavaMethodInfo. addEnclosingTypeParams(IType declaringClass, TypeVarToTypeMap actualParamByVarName)
void
DefaultEntityAccess. addEnhancementMethods(IType typeToEnhance, Collection methodsToAddTo)
void
EnhancementIndex. addEnhancementMethods(IType typeToEnhance, Collection<IMethodInfo> methodsToAddTo)
void
DefaultEntityAccess. addEnhancementProperties(IType typeToEnhance, Map propertyInfosToAddTo, boolean caseSensitive)
void
EnhancementIndex. addEnhancementProperties(IType typeToEnhance, Map<CharSequence,IPropertyInfo> propertyInfosToAddTo, boolean caseSensitive)
void
EnhancementIndex. addEntry(IType enhancedType, IGosuEnhancement enhancement)
void
GosuClass. addInterface(IType type)
void
IGosuClassInternal. addInterface(IType type)
static void
TypeLord. addReferencedTypeVarsThatAreNotInMap(IType type, TypeVarToTypeMap map)
static boolean
TypeLord. areGenericOrParameterizedTypesAssignable(IType to, IType from)
IType
GosuVarPropertyInfo. assignActualType(IType type)
void
GosuVarPropertyInfo. assignSymbolType(IType type)
void
GosuClass. assignTypeVarsFromTypeParams(IType[] typeParams)
Note a gosu class can be BOTH parameterzied AND generic.IType
TypeLoaderAccess. boundTypes(IType targetType, List<IType> typesToBound)
static IType
TypeLord. boundTypes(IType type, List<IType> typesToBound)
static IType
TypeLord. boundTypes(IType type, List<IType> typesToBound, boolean bKeepTypeVars)
boolean
TypeLoaderAccess. canCast(IType lhsType, IType rhsType)
static void
ContextSensitiveCodeRunner. collectLocalSymbols(IType enclosingType, ISymbolTable symTable, IParsedElement parsedElement, int iOffset)
static Object
ContextSensitiveCodeRunner. compileAndRunMeSomeCode(Object source, IGosuClass ctxClass, Object outer, IType enclosingClass, Object[] extSyms, int offset)
static GenericTypeVariable[]
GenericTypeVariable. convertTypeVars(IType enclosingType, IType classType, IJavaClassTypeVariable[] fromVars)
IGenericTypeVariable
GenericTypeVariable. copy(IType boundingType)
IGosuClassInternal
GosuClassProxyFactory. create(IType type)
IJavaTypeInfo
TypeInfoFactoryImpl. create(IType intrType, IJavaClassInfo backingClass)
IJavaTypeInfo
TypeInfoFactoryImpl. create(IType intrType, Class<?> backingClass)
ITypeRef
TypeRefFactory. create(IType type)
Wraps the actual class with a proxy.IGosuClassInternal
GosuClassProxyFactory. createImmediately(IType type)
IMetaType
GosuIndustrialParkImpl. createMetaType(IType type, boolean literal)
ISymbol
GosuIndustrialParkImpl. createSymbol(CharSequence name, IType type, IStackProvider stackProvider)
ISymbol
GosuIndustrialParkImpl. createSymbol(CharSequence name, IType type, Object value)
void
GenericTypeVariable. createTypeVariableDefinition(IType enclosingType)
static IType
TypeLord. deriveParameterizedTypeFromContext(IType type, IType contextType)
static boolean
TypeLord. encloses(IType type, IType inner)
static boolean
TypeLord. enclosingTypeInstanceInScope(IType type, IGosuClassInternal inner)
static IType
TypeLord. findGreatestLowerBound(IType t1, IType t2)
static IType
GosuParser. findImpl(IType typeToInit)
static IMethodInfo
ParserBase. findMathOpMethod(IType lhsType, int op, IType rhsType)
static IType
TypeLord. findParameterizedStructureType(IType structureType, IType from)
IType
TypeLoaderAccess. findParameterizedType(IType type, IType rhsType)
static IType
TypeLord. findParameterizedType(IType sourceType, IType rawGenericType)
Finds a parameterized type in the ancestry of a given type.static IType
TypeLord. findParameterizedType(IType sourceType, IType rawGenericType, boolean bForAssignability)
static IType
TypeLord. findParameterizedType_Reverse(IType sourceType, IType targetType)
static IType
TypeLord. findParameterizedTypeInHierarchy(IType sourceType, IType rawGenericType)
static IType
CompoundType. get(IType... types)
static MetaType
MetaType. get(IType type)
ITypeRef
TypeRefFactory. get(IType type)
IRelativeTypeInfo.Accessibility
CompoundTypeInfo. getAccessibilityForType(IType whosAskin)
IRelativeTypeInfo.Accessibility
GosuClassTypeInfo. getAccessibilityForType(IType whosaskin)
IRelativeTypeInfo.Accessibility
JavaTypeInfo. getAccessibilityForType(IType whosaskin)
IRelativeTypeInfo.Accessibility
MetaTypeTypeInfo. getAccessibilityForType(IType whosAskin)
IType
TypeLoaderAccess. getActualType(IType type, TypeVarToTypeMap actualParamByVarName, boolean bKeepTypeVars)
static IType
TypeLord. getActualType(IType type, TypeVarToTypeMap actualParamByVarName)
static IType
TypeLord. getActualType(IType type, TypeVarToTypeMap actualParamByVarName, boolean bKeepTypeVars)
static IType
TypeLord. getActualType(IType type, TypeVarToTypeMap actualParamByVarName, boolean bKeepTypeVars, Set<IType> visited)
IType
GosuBaseAttributedFeatureInfo. getActualTypeInContainer(IFeatureInfo container, IType type)
static Set<IType>
TypeLord. getAllClassesInClassHierarchyAsIntrinsicTypes(IType type)
IAnnotationInfo
ArrayExpansionMethodInfo. getAnnotation(IType type)
IAnnotationInfo
ArrayExpansionPropertyInfo. getAnnotation(IType type)
IAnnotationInfo
ErrorTypeInfo. getAnnotation(IType type)
List<IAnnotationInfo>
ArrayExpansionMethodInfo. getAnnotationsOfType(IType type)
List<IAnnotationInfo>
ArrayExpansionPropertyInfo. getAnnotationsOfType(IType type)
List<IAnnotationInfo>
ErrorTypeInfo. getAnnotationsOfType(IType type)
IGosuClass
GosuIndustrialParkImpl. getBlockToInterfaceConversionClass(IType typeToCoerceTo, IType enclosingType)
static IType
TypeLord. getBoxedTypeFromPrimitiveType(IType primitiveType)
IType
TypeLoaderAccess. getBoxType(IType primitiveType)
IConstructorInfo
CompoundTypeInfo. getCallableConstructor(IType... params)
IConstructorInfo
ErrorTypeInfo. getCallableConstructor(IType... params)
IConstructorInfo
GosuClassTypeInfo. getCallableConstructor(IType... params)
IConstructorInfo
JavaTypeInfo. getCallableConstructor(IType... params)
IConstructorInfo
MetaTypeTypeInfo. getCallableConstructor(IType... params)
IConstructorInfo
NamespaceTypeInfo. getCallableConstructor(IType... params)
IMethodInfo
CompoundTypeInfo. getCallableMethod(CharSequence strMethod, IType... params)
IMethodInfo
ErrorTypeInfo. getCallableMethod(CharSequence method, IType... params)
IMethodInfo
GosuClassTypeInfo. getCallableMethod(CharSequence strMethod, IType... params)
IMethodInfo
JavaTypeInfo. getCallableMethod(CharSequence strMethod, IType... params)
IMethodInfo
MetaTypeTypeInfo. getCallableMethod(CharSequence strMethod, IType... params)
IMethodInfo
NamespaceTypeInfo. getCallableMethod(CharSequence strMethod, IType... params)
Set<TypeName>
NamespaceType. getChildren(IType whosaskin)
static IType
JavaTypeInfo. getCompilingClass(IType type)
IType
TypeLoaderAccess. getComponentType(IType valueType)
static IType
TypeLord. getConcreteType(IType type)
IConstructorInfo
CompoundTypeInfo. getConstructor(IType... params)
IConstructorInfo
CompoundTypeInfo. getConstructor(IType whosAskin, IType[] params)
IConstructorInfo
ErrorTypeInfo. getConstructor(IType... params)
IConstructorInfo
GosuClassTypeInfo. getConstructor(IType... params)
IConstructorInfo
GosuClassTypeInfo. getConstructor(IType whosAskin, IType[] params)
IConstructorInfo
JavaTypeInfo. getConstructor(IType... params)
IConstructorInfo
JavaTypeInfo. getConstructor(IType whosAskin, IType[] params)
IConstructorInfo
MetaTypeTypeInfo. getConstructor(IType... params)
IConstructorInfo
MetaTypeTypeInfo. getConstructor(IType whosAskin, IType[] params)
IConstructorInfo
NamespaceTypeInfo. getConstructor(IType... params)
List<? extends IConstructorInfo>
CompoundTypeInfo. getConstructors(IType whosaskin)
List<GosuConstructorInfo>
GosuClassTypeInfo. getConstructors(IType whosAskin)
List<? extends IConstructorInfo>
JavaTypeInfo. getConstructors(IType whosAskin)
List<? extends IConstructorInfo>
MetaTypeTypeInfo. getConstructors(IType whosaskin)
IConstructorType
GosuParser. getConstructorType(IType classBean, Expression[] eArgs, List<IConstructorType> listAllMatchingMethods, ParserBase parserState)
Get the type of the method specified in the member path.static IType
TypeLord. getCoreType(IType type)
IType
TypeLoaderAccess. getDefaultParameterizedType(IType type)
static IType
TypeLord. getDefaultParameterizedType(IType type)
IType
TypeLoaderAccess. getDefaultParameterizedTypeWithTypeVars(IType type)
static IType
TypeLord. getDefaultParameterizedTypeWithTypeVars(IType type)
static IType
TypeLord. getDefaultParameterizedTypeWithTypeVars(IType type, TypeVarToTypeMap map)
static IType
TypeLord. getDefaultParameterizedTypeWithTypeVars(IType type, TypeVarToTypeMap map, Set<IType> visited)
List<IGosuEnhancementInternal>
EnhancementIndex. getEnhancementsForType(IType typeToEnhance)
IPropertyInfo
DefaultEntityAccess. getEntityIdProperty(IType rootType)
Object
DefaultEntityAccess. getEntityInstanceFrom(Object entity, IType classEntity)
IType
TypeLoaderAccess. getExpandableComponentType(IType type)
static IType
TypeLord. getExpandableComponentType(IType type)
static IType
TypeLord. getExpandableComponentType(IType type, boolean bCore)
IFunctionType
GosuParser. getFunctionType(IType classBean, String functionName, Expression[] eArgs, List<IFunctionType> listAllMatchingMethods, GosuParser parser, boolean bMatchParamTypes)
IGosuClass
GosuIndustrialParkImpl. getGosuClassFrom(IType fromType)
static IGosuClassInternal
IGosuClassInternal.Util. getGosuClassFrom(IType type)
long
DefaultEntityAccess. getHashedEntityId(String strId, IType classEntity)
static IType
TypeLord. getLeastUpperBoundForPrimitiveTypes(IType t0, IType t1)
static MetaType
MetaType. getLiteral(IType type)
String
DefaultEntityAccess. getLocalizedTypeInfoName(IType type)
String
DefaultEntityAccess. getLocalizedTypeName(IType type)
IMethodInfo
CompoundTypeInfo. getMethod(IType whosaskin, CharSequence methodName, IType... params)
IMethodInfo
CompoundTypeInfo. getMethod(CharSequence methodName, IType... params)
IMethodInfo
ErrorTypeInfo. getMethod(CharSequence methodName, IType... params)
IMethodInfo
GosuClassTypeInfo. getMethod(IType whosaskin, CharSequence methodName, IType... params)
IMethodInfo
GosuClassTypeInfo. getMethod(CharSequence methodName, IType... params)
IMethodInfo
JavaTypeInfo. getMethod(IType whosaskin, CharSequence methodName, IType... params)
IMethodInfo
JavaTypeInfo. getMethod(CharSequence methodName, IType... params)
IMethodInfo
MetaTypeTypeInfo. getMethod(IType whosaskin, CharSequence methodName, IType... params)
IMethodInfo
MetaTypeTypeInfo. getMethod(CharSequence methodName, IType... params)
IMethodInfo
NamespaceTypeInfo. getMethod(CharSequence methodName, IType... params)
static MethodList
BeanAccess. getMethods(ITypeInfo beanInfo, IType whosaskin)
MethodList
CompoundTypeInfo. getMethods(IType whosaskin)
MethodList
GosuClassTypeInfo. getMethods(IType whosAskin)
List<? extends IMethodInfo>
GosuIndustrialParkImpl. getMethods(ITypeInfo beanInfo, IType ownersIntrinsicType)
MethodList
JavaTypeInfo. getMethods(IType whosAskin)
MethodList
MetaTypeTypeInfo. getMethods(IType whosAskin)
String
TypeLoaderAccess. getNameOfParams(IType[] paramTypes, boolean bRelative, boolean bWithEnclosingType)
static String
TypeLord. getNameOfParams(IType[] paramTypes, boolean bRelative, boolean bWithEnclosingType)
static String
TypeLord. getNameOfParams(IType[] paramTypes, boolean bRelative, boolean bWithEnclosingType, boolean bIncludeModule)
static String
TypeLord. getNameWithBoundQualifiedTypeVariables(IType type, boolean includeModules)
String
TypeLoaderAccess. getNameWithQualifiedTypeVariables(IType type)
static String
TypeLord. getNameWithQualifiedTypeVariables(IType type, boolean includeModules)
IFunctionType
TypeLoaderAccess. getOrCreateFunctionType(String strFunctionName, IType retType, IType[] paramTypes)
protected ITypeRef
GosuClass. getOrCreateTypeReference(IType type)
ITypeRef
TypeLoaderAccess. getOrCreateTypeReference(IType type)
ITypeVariableType
TypeLoaderAccess. getOrCreateTypeVariableType(String strName, IType boundingType, IType enclosingType)
static IType
TypeLord. getOuterMostEnclosingClass(IType innerClass)
IType[]
AbstractGenericMethodInfo. getParameterizedParameterTypes(IType... typeParams)
IType[]
GosuPropertyInfo. getParameterizedParameterTypes(IType... typeParams)
IType[]
GosuVarPropertyInfo. getParameterizedParameterTypes(IType... typeParams)
IType[]
JavaMethodInfo. getParameterizedParameterTypes(IType... typeParams)
IType[]
AbstractGenericMethodInfo. getParameterizedParameterTypes2(IType ownersType, IType... typeParams)
IType[]
GosuPropertyInfo. getParameterizedParameterTypes2(IType ownersType, IType... typeParams)
IType[]
GosuVarPropertyInfo. getParameterizedParameterTypes2(IType ownersType, IType... typeParams)
IType[]
JavaMethodInfo. getParameterizedParameterTypes2(IType ownersType, IType... typeParams)
IType
AbstractGenericMethodInfo. getParameterizedReturnType(IType... typeParams)
IType
GosuPropertyInfo. getParameterizedReturnType(IType... typeParams)
IType
GosuVarPropertyInfo. getParameterizedReturnType(IType... typeParams)
IType
JavaMethodInfo. getParameterizedReturnType(IType... typeParams)
IType
CompoundType. getParameterizedType(IType... ofType)
IType
ErrorType. getParameterizedType(IType... ofType)
IGosuClassInternal
GosuClass. getParameterizedType(IType... paramTypes)
IGosuEnhancementInternal
GosuEnhancement. getParameterizedType(IType... paramTypes)
IMetaType
MetaType. getParameterizedType(IType... ofType)
IType
NamespaceType. getParameterizedType(IType... ofType)
IType
TypeVariableType. getParameterizedType(IType... ofType)
IType
TypeLoaderAccess. getPrimitiveType(IType boxType)
static List<? extends IPropertyInfo>
BeanAccess. getProperties(ITypeInfo beanInfo, IType classBean)
List<? extends IPropertyInfo>
CompoundTypeInfo. getProperties(IType whosaskin)
List<IPropertyInfo>
GosuClassTypeInfo. getProperties(IType whosAskin)
List<? extends IPropertyInfo>
GosuIndustrialParkImpl. getProperties(ITypeInfo beanInfo, IType classSource)
List<IPropertyInfo>
JavaTypeInfo. getProperties(IType whosAskin)
List<? extends IPropertyInfo>
MetaTypeTypeInfo. getProperties(IType whosaskin)
static IPropertyInfo
BeanAccess. getProperty(ITypeInfo beanInfo, IType classBean, String strMember)
IPropertyInfo
CompoundTypeInfo. getProperty(IType whosaskin, CharSequence propName)
IPropertyInfo
GosuClassTypeInfo. getProperty(IType whosAskin, CharSequence propName)
IPropertyInfo
JavaTypeInfo. getProperty(IType whosAskin, CharSequence propName)
IPropertyInfo
MetaTypeTypeInfo. getProperty(IType whosAskin, CharSequence propName)
static IPropertyInfo
BeanAccess. getPropertyInfo(IType classBean, IType whosAskin, String strProperty, IFeatureFilter filter, ParserBase parser, IScriptabilityModifier scriptabilityConstraint)
static IPropertyInfo
BeanAccess. getPropertyInfo(IType classBean, String strProperty, IFeatureFilter filter, ParserBase parser, IScriptabilityModifier scriptabilityConstraint)
IPropertyInfo
GosuIndustrialParkImpl. getPropertyInfo(IType classBean, String strProperty, IFeatureFilter filter, IParserPart parser, IScriptabilityModifier scriptabilityConstraint)
static IPropertyInfo
BeanAccess. getPropertyInfo_NoException(IType classBean, String strProperty, IFeatureFilter filter, ParserBase parser, IScriptabilityModifier scriptabilityConstraint)
static IPropertyInfo
BeanAccess. getPropertyInfoDirectly(IType classBean, String strProperty)
Resolves the property directly, as if the type were requesting it, giving access to all propertiesstatic IPropertyInfo
BeanAccess. getPropertyInfoDirectly_NoException(IType classBean, String strProperty)
Resolves the property directly, as if the type were requesting it, giving access to all propertiesIType
GosuIndustrialParkImpl. getPureGenericType(IType type)
static IType
TypeLord. getRootType(IType type)
static IType
TypeLord. getTopLevelType(IType type)
ITypeRef
TypeLoaderAccess. getTypeReference(IType type)
static List<ITypeVariableType>
TypeLord. getTypeVariables(IType type)
static boolean
TypeLord. getTypeVariables(IType type, Predicate<ITypeVariableType> cb)
boolean
ArrayExpansionMethodInfo. hasAnnotation(IType type)
boolean
ArrayExpansionPropertyInfo. hasAnnotation(IType type)
boolean
ErrorTypeInfo. hasAnnotation(IType type)
boolean
ArrayExpansionMethodInfo. hasDeclaredAnnotation(IType type)
boolean
ArrayExpansionPropertyInfo. hasDeclaredAnnotation(IType type)
boolean
ErrorTypeInfo. hasDeclaredAnnotation(IType type)
boolean
GosuArrayClass. hasGosuClassAtRoot(IType component)
static boolean
TypeLord. hasTypeVariable(IType type)
TypeVarToTypeMap
AbstractGenericMethodInfo. inferTypeParametersFromArgumentTypes(IType... argTypes)
TypeVarToTypeMap
GosuPropertyInfo. inferTypeParametersFromArgumentTypes(IType... argTypes)
TypeVarToTypeMap
GosuVarPropertyInfo. inferTypeParametersFromArgumentTypes(IType... argTypes)
TypeVarToTypeMap
JavaMethodInfo. inferTypeParametersFromArgumentTypes(IType... argTypes)
TypeVarToTypeMap
AbstractGenericMethodInfo. inferTypeParametersFromArgumentTypes2(IType owningParameterizedType, IType... argTypes)
TypeVarToTypeMap
GosuPropertyInfo. inferTypeParametersFromArgumentTypes2(IType owningParameterizedType, IType... argTypes)
TypeVarToTypeMap
GosuVarPropertyInfo. inferTypeParametersFromArgumentTypes2(IType owningParameterizedType, IType... argTypes)
TypeVarToTypeMap
JavaMethodInfo. inferTypeParametersFromArgumentTypes2(IType owningParameterizedType, IType... argTypes)
void
TypeLoaderAccess. inferTypeVariableTypesFromGenParamTypeAndConcreteType(IType genParamType, IType argType, TypeVarToTypeMap map)
static void
TypeLord. inferTypeVariableTypesFromGenParamTypeAndConcreteType(IType genParamType, IType argType, TypeVarToTypeMap inferenceMap)
static void
TypeLord. inferTypeVariableTypesFromGenParamTypeAndConcreteType(IType genParamType, IType argType, TypeVarToTypeMap inferenceMap, HashSet<ITypeVariableType> inferredInCallStack, boolean bReverse)
void
TypeLoaderAccess. inferTypeVariableTypesFromGenParamTypeAndConcreteType_Reverse(IType genParamType, IType argType, TypeVarToTypeMap map)
static void
TypeLord. inferTypeVariableTypesFromGenParamTypeAndConcreteType_Reverse(IType genParamType, IType argType, TypeVarToTypeMap inferenceMap)
boolean
GosuPropertyInfo. isAccessible(IType whosAskin, ReducedDynamicFunctionSymbol accessor)
boolean
CompoundType. isAssignableFrom(IType type)
boolean
ErrorType. isAssignableFrom(IType type)
boolean
GosuClass. isAssignableFrom(IType type)
boolean
MetaType. isAssignableFrom(IType type)
MetaTypes are assignable if: they are both arrays and their component types are assignable the are not arrays and: - one of them is not a MetaType and instead implements IType - or - one of them is the DEFAULT_TYPE - or - one of them is the ROOT_TYPE - or - their core types are assignable - or - their core types are structurally assignableboolean
NamespaceType. isAssignableFrom(IType type)
boolean
TypeVariableArrayType. isAssignableFrom(IType type)
boolean
TypeVariableType. isAssignableFrom(IType type)
A type variable type is assignable only to/from itself or a reference thereof.static boolean
BeanAccess. isBeanType(IType typeSource)
static boolean
BeanAccess. isBoxedTypeFor(IType primitiveType, IType boxedType)
static boolean
TypeLord. isDelegatableInterface(IType declaringType, IType iface)
boolean
DefaultEntityAccess. isEntityClass(IType cls)
static boolean
TypeLord. isEvalProgram(IType type)
boolean
TypeLoaderAccess. isExpandable(IType type)
static boolean
TypeLord. isExpandable(IType type)
boolean
DefaultEntityAccess. isInternal(IType cls)
static boolean
BeanAccess. isNumericType(IType intrType)
static boolean
TypeLord. isParameterizedType(IType type)
boolean
TypeLoaderAccess. isParameterizedWith(IType type, ITypeVariableType... typeVars)
static boolean
TypeLord. isParameterizedWith(IType type, TypeVariableType typeVar)
boolean
GosuPropertyInfo. isReadable(IType whosAskin)
static boolean
TypeLord. isRecursiveType(IType declaringClass)
static boolean
TypeLord. isRecursiveType(ITypeVariableType subject, IType... types)
static boolean
TypeLord. isRecursiveTypeFromBase(IType rootType)
boolean
GosuClass. isSubClass(IType gsSubType)
static boolean
TypeLord. isSubtype(IType subtype, IType supertype)
boolean
AbstractTypeRef. isTypeRefreshedOutsideOfLock(IType type)
boolean
ArrayExpansionPropertyInfo. isWritable(IType whosAskin)
boolean
GosuPropertyInfo. isWritable(IType whosAskin)
boolean
GosuVarPropertyInfo. isWritable(IType whosAskin)
boolean
JavaFieldPropertyInfo. isWritable(IType whosAskin)
boolean
JavaPropertyInfo. isWritable(IType whosAskin)
boolean
MetaTypeTypeInfo.TypeProperty. isWritable(IType whosAskin)
boolean
StaticPropertyInfo. isWritable(IType whosAskin)
static ContextType
ContextType. makeBlockContexType(IType ctxType, IType ctxTypeWithTypeVars, boolean bScoring)
protected IGosuClassInternal
GosuClass. makeCopy(IType... paramTypes)
protected IGosuEnhancementInternal
GosuEnhancement. makeCopy(IType... paramTypes)
static IType
TypeLord. makeDefaultParameterizedType(IType type)
static String
GosuProgramParser. makeEvalKey(String source, IType enclosingClass, int offset)
static String
GosuProgramParser. makeEvalKey(String strSource, IType enclosingClass, IParsedElement ctxElem)
static IType
TypeLord. makeParameteredType(IType genType, TypeVarToTypeMap inferenceMap)
static List<ISymbol>
TemplateRenderFunctionSymbol. makeSymbolsFromTypes(IType[] params)
static String
GosuClassProxyFactory. makeValueString(Object value, IType returnType)
TypeVarToTypeMap
TypeLoaderAccess. mapTypeByVarName(IType ownersType, IType declaringType)
static TypeVarToTypeMap
TypeLord. mapTypeByVarName(IType ownersType, IType declaringType)
static IJavaPropertyInfo
JavaPropertyInfo. newInstance(IFeatureInfo container, IJavaPropertyDescriptor pd, IType propertyType)
static IJavaPropertyInfo
JavaPropertyInfo. newInstance(IFeatureInfo container, IJavaPropertyDescriptor pd, IType propertyType, IPresentationInfo presInfo)
IParseResult
GosuProgramParser. parseEval(String strSource, List<ICapturedSymbol> captured, IType enclosingClass, IParsedElement ctxElem, ISymbolTable extSyms)
Expression
GosuParser. parseExp(IScriptPartId partId, IType expectedExpressionType)
Expression
GosuParser. parseExp(IScriptPartId partId, IType expectedExpressionType, IFileContext context, boolean assignRuntime)
IExpression
GosuParser. parseExpOrProgram(IScriptPartId partId, IType typeExpected, boolean isolatedScope, boolean assignRuntime)
IProgram
GosuParser. parseProgram(IScriptPartId partId, boolean isolatedScope, boolean reallyIsolatedScope, IType expectedExpressionType, IFileContext ctx, boolean assignRuntime)
IProgram
GosuParser. parseProgram(IScriptPartId partId, boolean isolatedScope, boolean reallyIsolatedScope, IType expectedExpressionType, IFileContext ctx, boolean assignRuntime, boolean bDoNotThrowParseResultsException)
IProgram
GosuParser. parseProgram(IScriptPartId partId, boolean isolatedScope, boolean reallyIsolatedScope, IType expectedExpressionType, IFileContext ctx, boolean assignRuntime, boolean bDoNotThrowParseResultsException, IType superType)
IProgram
GosuParser. parseProgram(IScriptPartId partId, boolean isolatedScope, IType expectedExpressionType)
IProgram
GosuParser. parseProgram(IScriptPartId partId, IType expectedExpressionType)
IProgram
GosuParser. parseProgram(IScriptPartId partId, IType expectedExpressionType, IFileContext ctx, boolean assignRuntime)
IProgram
GosuParser. parseProgram(IScriptPartId partId, IType expectedExpressionType, IFileContext ctx, boolean assignRuntime, boolean bDoNotThrowParseResultsException)
IParseResult
GosuProgramParser. parseRuntimeExpr(String typeName, String strSource, IType enclosingClass, ISymbolTable extSyms, IParseTree ctxElem)
protected Expression
ParserBase. possiblyWrapWithCoercion(Expression expressionToCoerce, IType typeToCoerceTo, boolean bImplicit)
protected Expression
ParserBase. possiblyWrapWithImplicitCoercion(Expression expressionToCoerce, IType typeToCoerceTo)
static void
GosuClassCompilingStack. pushCompilingType(IType gsClass)
void
TypeLoaderAccess. pushCompilingType(IType type)
static IType
TypeLord. replaceRawGenericTypesWithDefaultParameterizedTypes(IType type)
IType
TypeLoaderAccess. replaceTypeVariableTypeParametersWithBoundingTypes(IType type, IType enclosingType)
static IType
TypeLord. replaceTypeVariableTypeParametersWithBoundingTypes(IType type)
static IType
TypeLord. replaceTypeVariableTypeParametersWithBoundingTypes(IType type, IType enclType)
static IType
ParserBase. resolveRuntimeType(ArithmeticExpression expr, IType lhsType, int op, IType rhsType)
protected IType
ParserBase. resolveType(ParsedElement parsedElement, IType lhsType, int op, IType rhsType)
static IType
ParserBase. resolveType(IType lhsType, int op, IType rhsType)
protected IType
ParserBase. resolveTypeForArithmeticExpression(ParsedElement parsedElement, IType lhsType, String op, IType rhsType)
void
GosuProgram. setContextType(IType contextType)
void
IGosuProgramInternal. setContextType(IType contextType)
void
GosuClass. setEnclosingType(IType enclosingType)
void
GosuEnhancement. setEnhancedType(IType enhancedType)
void
IGosuEnhancementInternal. setEnhancedType(IType enhancedType)
void
GosuProgram. setExpectedReturnType(IType expectedReturnType)
void
IGosuProgramInternal. setExpectedReturnType(IType expectedReturnType)
void
ClassJavaClassInfo. setJavaType(IType javaType)
void
GosuClass. setSuperType(IType superType)
void
IGosuClassInternal. setSuperType(IType superType)
void
Expression. setType(IType type)
Sets this Expression's IType.void
MemberFieldSymbol. setType(IType type)
void
Symbol. setType(IType type)
Sets the Symbol's type.boolean
DefaultEntityAccess. shouldAddWarning(IType type, IParseIssue warning)
static boolean
ErrorType. shouldHandleAsErrorType(IType type)
void
ContextInferenceManager. updateType(Expression expression, IType typeIsType)
protected void
ParserBase. verifyComparable(IType lhsType, Expression rhs)
protected void
ParserBase. verifyComparable(IType lhsType, Expression rhs, boolean bBiDirectional, boolean bErrorIfCoercion)
protected void
ParserBase. verifyComparable(IType lhsType, Expression rhs, boolean bBiDirectional, boolean bErrorIfCoercion, IParserState state)
protected IType
ParserBase. verifyTypesComparable(ParsedElement element, IType lhsType, IType rhsType, boolean bBiDirectional, boolean bErrorIfCoercion)
protected IType
ParserBase. verifyTypesComparable(ParsedElement element, IType lhsType, IType rhsType, boolean bBiDirectional, boolean bErrorIfCoercion, IParserState state)
boolean
DefaultEntityAccess. verifyValueForType(IType type, Object value)
Method parameters in gw.internal.gosu.parser with type arguments of type IType Modifier and Type Method Description static void
TypeLord. addAllClassesInClassHierarchy(IType type, Set<IType> set)
static void
TypeLord. addAllClassesInClassHierarchy(IType type, Set<IType> set, boolean bForce)
IType
TypeLoaderAccess. boundTypes(IType targetType, List<IType> typesToBound)
static IType
TypeLord. boundTypes(IType type, List<IType> typesToBound)
static IType
TypeLord. boundTypes(IType type, List<IType> typesToBound, boolean bKeepTypeVars)
static IType
TypeLord. findLeastUpperBound(List<? extends IType> types)
static IType
CompoundType. get(Set<IType> types)
static IType
TypeLord. getActualType(IType type, TypeVarToTypeMap actualParamByVarName, boolean bKeepTypeVars, Set<IType> visited)
IType
TypeLoaderAccess. getCompoundType(Set<IType> types)
static IType
TypeLord. getDefaultParameterizedTypeWithTypeVars(IType type, TypeVarToTypeMap map, Set<IType> visited)
ArrayList<ISymbol>
GosuParser. parseParameterDeclarationList(IParsedElement element, boolean bStatic, List<IType> inferredArgumentTypes)
ArrayList<ISymbol>
GosuParser. parseParameterDeclarationList(IParsedElement element, boolean bStatic, List<IType> inferredArgumentTypes, boolean bProperty, boolean bGetter, boolean bEmpty, boolean bVarDynamicArg)
protected void
ParserBase. pushInferringFunctionTypeVars(List<IType> typeVariableTypes)
-
Uses of IType in gw.internal.gosu.parser.expressions
Classes in gw.internal.gosu.parser.expressions that implement IType Modifier and Type Class Description class
BlockType
Methods in gw.internal.gosu.parser.expressions that return IType Modifier and Type Method Description IType
AnnotationUseSiteTargetClause. evaluate()
IType
ArgumentListClause. evaluate()
IType
ModifierListClause. evaluate()
IType
ParameterListClause. evaluate()
IType
TypeLiteral. evaluate()
IType
TypeParameterListClause. evaluate()
IType[]
BeanMethodCallExpression. getArgTypes()
IType[]
NewExpression. getArgTypes()
IType
Identifier. getAssignableType()
IType
MemberAccess. getAssignableType()
IType
BindingExpression. getBindForType()
IType
BlockExpression. getBlockReturnType()
IType
TypeVariableDefinition. getBoundingType()
IType
TypeVariableDefinitionImpl. getBoundingType()
IType
ArrayAccess. getComponentType()
IType
MapAccess. getComponentType()
IType
SuperAccess. getComponentType()
IType
Program. getDeclaredReturnType()
IType
TypeVariableDefinition. getEnclosingType()
IType
TypeVariableDefinitionImpl. getEnclosingType()
IType
FeatureLiteral. getFinalRootType()
IType[]
InterfacesClause. getInterfaces()
static IType
IntervalExpression. getIntervalType(IType type)
IType
MapAccess. getKeyType()
static IType
MapAccess. getKeyType(IType type)
IType
SuperAccess. getKeyType()
IType
InitializerAssignment. getOwnerType()
IType[]
FeatureLiteral. getParameterTypes()
IType
DimensionOperandResolver. getRawNumberType()
IType
Program. getReturnType()
IType
BeanMethodCallExpression. getRootType()
IType
FeatureLiteral. getRootType()
IType
MemberAccess. getRootType()
IType
SuperTypeClause. getSuperType()
IType
ConditionalExpression. getType()
protected IType
ConditionalExpression. getTypeImpl()
IType
NotAWordExpression. getTypeImpl()
IType
StaticTypeOfExpression. getTypeImpl()
IType
TypeOfExpression. getTypeImpl()
static IType
ArrayAccess. getTypeToAutoInsert(IExpression rootExpression)
IType
BlockType. newInstance(IType[] paramTypes, IType returnType)
Methods in gw.internal.gosu.parser.expressions with parameters of type IType Modifier and Type Method Description TypeVariableDefinitionImpl
TypeVariableDefinitionImpl. clone(IType boundingType)
TypeVariableDefinitionImpl
TypeVariableDefinitionImpl. cloneShallow(IType boundingType)
static int
ConditionalExpression. compareNumbers(Object lhsValue, Object rhsValue, IType lhsType, IType rhsType)
static Object
AdditiveExpression. evaluate(IType type, Object lhsValue, Object rhsValue, IType lhsType, IType rhsType, boolean bAdditive, boolean bNullSafe, boolean bNumericType)
static Object
AdditiveExpression. evaluate(IType type, Object lhsValue, Object rhsValue, IType lhsType, IType rhsType, boolean bAdditive, boolean bNullSafe, boolean bNumericType, Object ctx, int startLhs, int endLhs, int startRhs, int endRhs)
static Object
MultiplicativeExpression. evaluate(IType type, Object lhsValue, Object rhsValue, IType lhsType, IType rhsType, int iOperator, boolean bNullSafe)
static Object
MultiplicativeExpression. evaluate(IType type, Object lhsValue, Object rhsValue, IType lhsType, IType rhsType, int iOperator, boolean bNullSafe, Object ctx, int startLhs, int endLhs, int startRhs, int endRhs)
static Class<?>
CollectionInitializerExpression. getArrayClass(IType type)
static IType
IntervalExpression. getIntervalType(IType type)
static IType
MapAccess. getKeyType(IType type)
boolean
UnaryExpression. isSupportedType(IType type)
IType
BlockType. newInstance(IType[] paramTypes, IType returnType)
static DimensionOperandResolver
DimensionOperandResolver. resolve(IType exprType, IType lhsType, Object lhsValue, IType rhsType, Object rhsValue)
void
BeanMethodCallExpression. setArgTypes(IType[] argTypes)
void
NewExpression. setArgTypes(IType... argTypes)
void
BlockExpression. setBlockReturnType(IType blockReturnType)
void
TypeVariableDefinition. setBoundingType(IType type)
void
Program. setDeclaredReturnType(IType declaredReturnType)
void
TypeVariableDefinition. setEnclosingType(IType enclosingType)
void
TypeVariableDefinitionImpl. setEnclosingType(IType enclosingType)
void
TypeLiteral. setParameterTypes(IType[] types)
void
TypeLiteral. setType(IType type)
void
TypeVariableDefinition. setType(IType type)
static boolean
ArrayAccess. supportsArrayAccess(IType type)
static boolean
MapAccess. supportsMapAccess(IType type)
Method parameters in gw.internal.gosu.parser.expressions with type arguments of type IType Modifier and Type Method Description boolean
FeatureLiteral. resolveConstructor(List<IType> typesList)
boolean
FeatureLiteral. resolveMethod(String methodName, List<IType> typesList)
void
BlockLiteral. setArgTypes(List<IType> paramTypes)
-
Uses of IType in gw.internal.gosu.parser.fragments
Classes in gw.internal.gosu.parser.fragments that implement IType Modifier and Type Class Description class
GosuFragment
Deprecated.DO NOT USE THIS CLASS!Methods in gw.internal.gosu.parser.fragments that return IType Modifier and Type Method Description IType
GosuFragment. getArrayType()
Deprecated.IType
GosuFragment. getComponentType()
Deprecated.IType
GosuFragment. getEnclosingNonBlockType()
Deprecated.IType
GosuFragment. getGenericType()
Deprecated.IType
GosuFragment. getInnerClass(CharSequence strTypeName)
Deprecated.IType[]
GosuFragment. getInterfaces()
Deprecated.IType
GosuFragmentTypeInfo. getOwnersType()
IType
GosuFragment. getParameterizedType(IType... ofType)
Deprecated.IType
GosuFragment. getSupertype()
Deprecated.IType[]
GosuFragment. getTypeParameters()
Deprecated.IType
GosuFragment. resolveRelativeInnerClass(String strRelativeInnerClassName, boolean bForce)
Deprecated.Methods in gw.internal.gosu.parser.fragments that return types with arguments of type IType Modifier and Type Method Description Set<? extends IType>
GosuFragment. getAllTypesInHierarchy()
Deprecated.Set<IType>
GosuFragment. getCompoundTypeComponents()
Deprecated.List<? extends IType>
GosuFragment. getInnerClasses()
Deprecated.List<? extends IType>
GosuFragment. getLoadedInnerClasses()
Deprecated.Methods in gw.internal.gosu.parser.fragments with parameters of type IType Modifier and Type Method Description IRelativeTypeInfo.Accessibility
GosuFragmentTypeInfo. getAccessibilityForType(IType whosaskin)
IAnnotationInfo
GosuFragmentTypeInfo. getAnnotation(IType type)
List<IAnnotationInfo>
GosuFragmentTypeInfo. getAnnotationsOfType(IType type)
IConstructorInfo
GosuFragmentTypeInfo. getCallableConstructor(IType... params)
IMethodInfo
GosuFragmentTypeInfo. getCallableMethod(CharSequence method, IType... params)
IConstructorInfo
GosuFragmentTypeInfo. getConstructor(IType... params)
IConstructorInfo
GosuFragmentTypeInfo. getConstructor(IType whosAskin, IType[] params)
List<? extends IConstructorInfo>
GosuFragmentTypeInfo. getConstructors(IType whosaskin)
IMethodInfo
GosuFragmentTypeInfo. getMethod(IType whosaskin, CharSequence methodName, IType... params)
IMethodInfo
GosuFragmentTypeInfo. getMethod(CharSequence methodName, IType... params)
MethodList
GosuFragmentTypeInfo. getMethods(IType whosaskin)
IType
GosuFragment. getParameterizedType(IType... ofType)
Deprecated.List<? extends IPropertyInfo>
GosuFragmentTypeInfo. getProperties(IType whosaskin)
IPropertyInfo
GosuFragmentTypeInfo. getProperty(IType whosaskin, CharSequence propName)
boolean
GosuFragmentTypeInfo. hasAnnotation(IType type)
boolean
GosuFragmentTypeInfo. hasDeclaredAnnotation(IType type)
boolean
GosuFragment. isAssignableFrom(IType type)
Deprecated. -
Uses of IType in gw.internal.gosu.parser.gwPlatform
Fields in gw.internal.gosu.parser.gwPlatform declared as IType Modifier and Type Field Description protected IType
GWEntityAccess. _beanType
protected IType
GWEntityAccess. _entityType
protected IType
GWEntityAccess. _keyType
protected IType
GWEntityAccess. _typekeyType
protected IType
GWEntityAccess. _typelistType
Methods in gw.internal.gosu.parser.gwPlatform that return IType Modifier and Type Method Description IType
GWEntityAccess. getKeyType()
Methods in gw.internal.gosu.parser.gwPlatform with parameters of type IType Modifier and Type Method Description void
GWEntityAccess. addEnhancementMethods(IType typeToEnhance, Collection methodsToAddTo)
void
GWEntityAccess. addEnhancementProperties(IType typeToEnhance, Map propertyInfosToAddTo, boolean caseSensitive)
ICoercer
GWCoercionManager. getCoercerInternal(IType lhsType, IType rhsType, boolean runtime)
IPropertyInfo
GWEntityAccess. getEntityIdProperty(IType rootType)
boolean
GWEntityAccess. isEntityClass(IType type)
boolean
GWEntityAccess. shouldAddWarning(IType type, IParseIssue warning)
boolean
GWEntityAccess. verifyValueForType(IType type, Object value)
-
Uses of IType in gw.internal.gosu.parser.java.classinfo
Methods in gw.internal.gosu.parser.java.classinfo that return IType Modifier and Type Method Description IType
JavaArrayClassInfo. getActualType(TypeVarToTypeMap typeMap)
IType
JavaArrayClassInfo. getActualType(TypeVarToTypeMap typeMap, boolean bKeepTypeVars)
IType
JavaParameterizedType. getActualType(TypeVarToTypeMap typeMap)
IType
JavaParameterizedType. getActualType(TypeVarToTypeMap typeMap, boolean bKeepTypeVars)
IType
JavaSourceArrayType. getActualType(TypeVarToTypeMap typeMap)
IType
JavaSourceArrayType. getActualType(TypeVarToTypeMap typeMap, boolean bKeepTypeVars)
IType
JavaSourceType. getActualType(TypeVarToTypeMap typeMap)
IType
JavaSourceType. getActualType(TypeVarToTypeMap typeMap, boolean bKeepTypeVars)
IType
JavaSourceTypeVariable. getActualType(TypeVarToTypeMap typeMap)
IType
JavaSourceTypeVariable. getActualType(TypeVarToTypeMap typeMap, boolean bKeepTypeVars)
IType
JavaSourceUnresolvedClass. getActualType(TypeVarToTypeMap typeMap)
IType
JavaSourceUnresolvedClass. getActualType(TypeVarToTypeMap typeMap, boolean bKeepTypeVars)
IType
JavaWildcardType. getActualType(TypeVarToTypeMap typeMap)
IType
JavaWildcardType. getActualType(TypeVarToTypeMap typeMap, boolean bKeepTypeVars)
IType
UnparseableSourceTypeVariable. getActualType(TypeVarToTypeMap typeMap)
IType
UnparseableSourceTypeVariable. getActualType(TypeVarToTypeMap typeMap, boolean bKeepTypeVars)
IType
JavaArrayClassInfo. getEnclosingType()
IType
JavaSourceType. getEnclosingType()
IType
JavaSourceUnresolvedClass. getEnclosingType()
IType
JavaArrayClassInfo. getJavaType()
IType
JavaSourceType. getJavaType()
IType
JavaSourceUnresolvedClass. getJavaType()
IType
AsmClassAnnotationInfo. getOwnersType()
IType
JavaSourceAnnotationInfo. getOwnersType()
IType
JavaSourcePropertyDescriptor. getPropertyType()
IType
JavaSourceMethod. getReturnType()
IType
SyntheticJavaMethod. getReturnType()
IType
AsmClassAnnotationInfo. getType()
IType
JavaSourceAnnotationInfo. getType()
Methods in gw.internal.gosu.parser.java.classinfo with parameters of type IType Modifier and Type Method Description static IExpression
CompileTimeExpressionParser. parse(String text, IJavaClassInfo enclosingType, IType resultType)
Constructors in gw.internal.gosu.parser.java.classinfo with parameters of type IType Constructor Description JavaSourcePropertyDescriptor(String propName, IType type, IJavaClassMethod getter, IJavaClassMethod setter)
-
Uses of IType in gw.internal.gosu.parser.statements
Methods in gw.internal.gosu.parser.statements that return IType Modifier and Type Method Description static IType
LoopStatement. getArrayComponentType(IType typeIn)
IType
CatchClause. getCatchType()
static IType
CatchClause. getNakedCatchExceptionType()
IType
VarStatement. getType()
IType
TypeLoaderStatement. getTypeLoader()
Methods in gw.internal.gosu.parser.statements that return types with arguments of type IType Modifier and Type Method Description List<IType>
DelegateStatement. getConstituents()
Methods in gw.internal.gosu.parser.statements with parameters of type IType Modifier and Type Method Description static IType
LoopStatement. getArrayComponentType(IType typeIn)
void
CatchClause. init(IType iIntrinsicType, Statement catchStmt, Symbol symbol)
static boolean
LoopStatement. isIteratorType(IType typeIn)
static Iterator
LoopStatement. makeIterator(Object obj, IType typeHint)
A helper method for creating Iterators for use with 'exists' and 'foreach' elements.void
VarStatement. setType(IType newType)
void
TypeLoaderStatement. setTypeLoader(IType typeLoader)
Method parameters in gw.internal.gosu.parser.statements with type arguments of type IType Modifier and Type Method Description void
DelegateStatement. setConstituents(List<IType> constituents)
-
Uses of IType in gw.internal.gosu.parser.types
Classes in gw.internal.gosu.parser.types that implement IType Modifier and Type Class Description class
ConstructorType
Fields in gw.internal.gosu.parser.types declared as IType Modifier and Type Field Description protected IType[]
ConstructorType. _argTypes
protected IType
ConstructorType. _declaringType
Methods in gw.internal.gosu.parser.types that return IType Modifier and Type Method Description IType
ConstructorType. getArrayType()
IType
ConstructorType. getComponentType()
IType
ConstructorType. getDeclaringType()
IType
ConstructorType. getEnclosingType()
IType
ConstructorType. getGenericType()
IType[]
ConstructorType. getInterfaces()
IType
ConstructorType. getIntrinsicType()
IType
ConstructorType. getParameterizedType(IType... ofType)
IType[]
ConstructorType. getParameterTypes()
IType
ConstructorType. getSupertype()
IType[]
ConstructorType. getTypeParameters()
Methods in gw.internal.gosu.parser.types that return types with arguments of type IType Modifier and Type Method Description Set<IType>
ConstructorType. getCompoundTypeComponents()
Methods in gw.internal.gosu.parser.types with parameters of type IType Modifier and Type Method Description IType
ConstructorType. getParameterizedType(IType... ofType)
boolean
ConstructorType. isAssignableFrom(IType type)
Constructors in gw.internal.gosu.parser.types with parameters of type IType Constructor Description ConstructorType(IType declaringType, IType[] argTypes)
-
Uses of IType in gw.internal.gosu.properties
Classes in gw.internal.gosu.properties that implement IType Modifier and Type Class Description class
PropertiesType
Type based on aPropertyNode
Methods in gw.internal.gosu.properties that return IType Modifier and Type Method Description IType
PropertiesType. getInnerClass(CharSequence strTypeName)
IType[]
PropertiesType. getInterfaces()
IType
PropertyNode. getIntrinsicType()
Return the intrinsic type based on this property nodeIType
PropertiesType. getSupertype()
IType
PropertiesTypeLoader. getType(String fullyQualifiedName)
IType
PropertiesType. resolveRelativeInnerClass(String strTypeName, boolean bForce)
Methods in gw.internal.gosu.properties that return types with arguments of type IType Modifier and Type Method Description List<? extends IType>
PropertiesType. getInnerClasses()
List<? extends IType>
PropertiesType. getLoadedInnerClasses()
Methods in gw.internal.gosu.properties with parameters of type IType Modifier and Type Method Description IMethodInfo
PropertiesTypeInfo. getCallableMethod(CharSequence strMethod, IType... params)
IMethodInfo
PropertiesTypeInfo. getMethod(CharSequence methodName, IType... params)
-
Uses of IType in gw.internal.gosu.runtime
Methods in gw.internal.gosu.runtime that return IType Modifier and Type Method Description static IType
GosuRuntimeMethods. getType(Object obj)
static IType
GosuRuntimeMethods. getTypeForTypeVar(Object ref, IType iface, int iIndex)
static IType
GosuRuntimeMethods. typeof(Object o)
Methods in gw.internal.gosu.runtime with parameters of type IType Modifier and Type Method Description static Object
GosuRuntimeMethods. getProperty(Object root, IType type, String propertyName)
static IType
GosuRuntimeMethods. getTypeForTypeVar(Object ref, IType iface, int iIndex)
static Object
GosuRuntimeMethods. initMultiArray(IType componentType, Object instance, int iDimension, int[] sizes)
static Object
GosuRuntimeMethods. invokeMethodInfo(IType type, String methodName, IType[] parameterTypes, Object root, Object[] args)
static boolean
GosuRuntimeMethods. isStructurallyAssignable(IType toType, IType fromType)
static Object
GosuRuntimeMethods. newInstance(IType type, Object ctx, Object[] args)
static void
GosuRuntimeMethods. setProperty(Object root, IType type, String propertyName, Object value)
-
Uses of IType in gw.internal.gosu.template
Classes in gw.internal.gosu.template that implement IType Modifier and Type Class Description class
GosuTemplateType
Methods in gw.internal.gosu.template that return IType Modifier and Type Method Description IType
GosuTemplateType. getArrayType()
IType[]
GosuTemplateType. getParameterTypes(IType[] delegateParamTypes)
IType
GosuTemplateType. getSupertype()
IType
TemplateGenerator. getSuperType()
Methods in gw.internal.gosu.template with parameters of type IType Modifier and Type Method Description IType[]
GosuTemplateType. getParameterTypes(IType[] delegateParamTypes)
Constructors in gw.internal.gosu.template with parameters of type IType Constructor Description LockedDownSymbol(CharSequence strName, IType type, Method value)
-
Uses of IType in gw.lang
Methods in gw.lang that return IType Modifier and Type Method Description static IType
GosuShop. getPureGenericType(IType type)
IType
IGosuShop. getPureGenericType(IType type)
Methods in gw.lang that return types with arguments of type IType Modifier and Type Method Description static Map<IType,IType>
GosuShop. getPublishedTypeMap(IJavaClassInfo classInfo)
static Map<IType,IType>
GosuShop. getPublishedTypeMap(IJavaClassInfo classInfo)
Methods in gw.lang with parameters of type IType Modifier and Type Method Description static boolean
GosuShop. contains(IType[] types, IType type)
static IMetaType
GosuShop. createMetaType(IType type, boolean literal)
IMetaType
IGosuShop. createMetaType(IType type, boolean literal)
static ISymbol
GosuShop. createSymbol(CharSequence name, IType type, IStackProvider stackProvider)
static ISymbol
GosuShop. createSymbol(CharSequence name, IType type, Object value)
ISymbol
IGosuShop. createSymbol(CharSequence name, IType type, IStackProvider stackProvider)
ISymbol
IGosuShop. createSymbol(CharSequence name, IType type, Object value)
static IGosuClass
GosuShop. getBlockToInterfaceConversionClass(IType typeToCoerceTo, IType enclosingType)
IGosuClass
IGosuShop. getBlockToInterfaceConversionClass(IType typeToCoerceTo, IType enclosingType)
static IGosuClass
GosuShop. getGosuClassFrom(IType fromType)
IGosuClass
IGosuShop. getGosuClassFrom(IType fromType)
List<? extends IMethodInfo>
IGosuShop. getMethods(ITypeInfo beanInfo, IType ownersIntrinsicType)
static IModule
GosuShop. getModule(IType type)
List<? extends IPropertyInfo>
IGosuShop. getProperties(ITypeInfo beanInfo, IType classSource)
IPropertyInfo
IGosuShop. getPropertyInfo(IType classBean, String strProperty, IFeatureFilter filter, IParserPart parserBase, IScriptabilityModifier scriptabilityConstraint)
static IType
GosuShop. getPureGenericType(IType type)
IType
IGosuShop. getPureGenericType(IType type)
-
Uses of IType in gw.lang.annotation
Methods in gw.lang.annotation with parameters of type IType Modifier and Type Method Description static UsageModifier
UsageModifier. getUsageModifier(IParsedElement pe, UsageTarget targetType, IType annotationType, AnnotationUseSiteTarget target)
-
Uses of IType in gw.lang.function
Methods in gw.lang.function that return IType Modifier and Type Method Description IType
AbstractBlock. getIntrinsicType()
-
Uses of IType in gw.lang.gosuc
Methods in gw.lang.gosuc that return types with arguments of type IType Modifier and Type Method Description List<IType>
Gosuc. compile(IModule module, List<String> types)
List<IType>
Gosuc. compile(String moduleName, List<String> types)
List<IType>
GosucCompiler. compile(GosucProject project, Collection<? extends CharSequence> typeNames)
List<IType>
IGosuc. compile(IModule module, List<String> typesToCompile)
List<IType>
IGosuc. compile(String moduleName, List<String> typesToCompile)
-
Uses of IType in gw.lang.ir
Methods in gw.lang.ir that return IType Modifier and Type Method Description static IType
SignatureUtil. getPureGenericType(IType type)
IType
IRType. getType()
IType
SyntheticIRArrayType. getType()
IType
SyntheticIRType. getType()
Methods in gw.lang.ir with parameters of type IType Modifier and Type Method Description IRType
IRTypeResolver. getDescriptor(IType type)
static IType
SignatureUtil. getPureGenericType(IType type)
void
IRClass. makeGenericSignature(IType type)
static void
SignatureUtil. visitType(org.objectweb.asm.signature.SignatureVisitor sv, IType type, boolean[] bGeneric)
-
Uses of IType in gw.lang.ir.builder
Methods in gw.lang.ir.builder with parameters of type IType Modifier and Type Method Description protected IRType
IRBuilder. getIRType(IType type)
static IRType
IRBuilderMethods. getIRType(IType type)
protected static IRType
IRElementBuilder. getIRType(IType type)
static IRNewArrayExpressionBuilder
IRBuilderMethods. newArray(IType rootType, int size)
static IRCompositeExpressionBuilder
IRBuilderMethods. newArray(IType componentType, List<IRExpressionBuilder> values)
IRMethodBuilder
IRMethodBuilder. parameter(String name, IType type)
IRMethodBuilder
IRMethodBuilder. returns(IType returnType)
IRClassBuilder
IRClassBuilder. withInterface(IType type)
IRFieldBuilder
IRFieldBuilder. withType(IType type)
-
Uses of IType in gw.lang.ir.statement
Constructors in gw.lang.ir.statement with parameters of type IType Constructor Description IRFieldDecl(int modifiers, boolean explicitInternal, String name, IRType type, IType iType, Object value)
IRMethodStatement(IRStatement methodBody, String name, int modifiers, boolean explicitInternal, IRType returnType, IType returnIType, List<IRSymbol> parameters, IType[] argTypes, IType methodType, Object[] annotationDefault)
-
Uses of IType in gw.lang.parser
Subinterfaces of IType in gw.lang.parser Modifier and Type Interface Description interface
IBlockClass
interface
IFileRepositoryBasedType
Fields in gw.lang.parser with type parameters of type IType Modifier and Type Field Description TypeSystemAwareCache<Pair<IType,IType>,ICoercer>
StandardCoercionManager. _coercerCache
TypeSystemAwareCache<Pair<IType,IType>,ICoercer>
StandardCoercionManager. _coercerCache
Methods in gw.lang.parser that return IType Modifier and Type Method Description static IType
GosuParserTypes. BOOLEAN_TYPE()
static IType
GosuParserTypes. CHAR_TYPE()
static IType
GosuParserTypes. DATETIME_TYPE()
static IType
GosuParserTypes. GENERIC_BEAN_TYPE()
IType
TypeVarToTypeMap. get(ITypeVariableType tvType)
IType[]
IDynamicFunctionSymbol. getArgTypes()
IType[]
IReducedDynamicFunctionSymbol. getArgTypes()
IType
IReducedDynamicPropertySymbol. getAssignableType()
IType
IBlockClass. getBlockType()
<E> IType
TypeVarToTypeMap. getByMatcher(E tv, TypeVarToTypeMap.ITypeVarMatcher<E> matcher)
IType
TypeVarToTypeMap. getByString(String tv)
abstract IType
IScriptPartId. getContainingType()
IType
ScriptPartId. getContainingType()
IType
TypelessScriptPartId. getContainingType()
IType
IExpression. getContextType()
IType
IInitializerSymbol. getDeclaringTypeOfProperty()
IType
IParseTree. getEnclosingType()
IType
IParseIssue. getExpectedType()
IType
ParserOptions. getExpectedType()
IType
IHasInnerClass. getInnerClass(CharSequence strTypeName)
returns the appropriate inner classIType
IDynamicFunctionSymbol. getReturnType()
IType
IParsedElement. getReturnType()
IType
IReducedDynamicFunctionSymbol. getReturnType()
IType
ParserOptions. getSuperType()
IType
DefaultReducedSymbol. getType()
IType
IHasType. getType()
IType
IReducedDynamicFunctionSymbol. getType()
IType
IReducedSymbol. getType()
IType
ISymbol. getType()
Returns the Symbol's type.IType
ParseResult. getType()
static IType
GosuParserTypes. LIST_TYPE()
static IType
GosuParserTypes. NULL_TYPE()
static IType
GosuParserTypes. NUMBER_TYPE()
IType
TypeVarToTypeMap. put(ITypeVariableType tvType, IType type)
IType
TypeVarToTypeMap. put(ITypeVariableType tvType, IType type, boolean bReverse)
IType
TypeVarToTypeMap. remove(ITypeVariableType tvType)
IType
IHasInnerClass. resolveRelativeInnerClass(String strTypeName, boolean bForce)
IType
IResolvingCoercer. resolveType(IType target, IType source)
This method should produce a more appropriately parameterized type for the given target type for this coercion.IType
ITypeUsesMap. resolveType(String strRelativeName)
Resolve the type of a relative name via the type uses. if the relative type matches uses-type, resolves the type as such.static IType
GosuParserTypes. STRING_TYPE()
IType
ICoercionManager. verifyTypesComparable(IType lhsType, IType rhsType, boolean bBiDirectional)
Verifies that the right hand type can be converted or coerced to the left hand type.IType
ICoercionManager. verifyTypesComparable(IType lhsType, IType rhsType, boolean bBiDirectional, IFullParserState parserState)
Verifies that the right hand type can be converted or coerced to the left hand type.IType
StandardCoercionManager. verifyTypesComparable(IType lhsType, IType rhsType, boolean bBiDirectional)
IType
StandardCoercionManager. verifyTypesComparable(IType lhsType, IType rhsType, boolean bBiDirectional, IFullParserState parserState)
Methods in gw.lang.parser that return types with arguments of type IType Modifier and Type Method Description Set<Map.Entry<ITypeVariableType,Pair<IType,Boolean>>>
TypeVarToTypeMap. entrySet()
List<? extends IType>
IHasInnerClass. getInnerClasses()
List<? extends IType>
IHasInnerClass. getLoadedInnerClasses()
Pair<IType,Boolean>
TypeVarToTypeMap. getPair(ITypeVariableType tvType)
Collection<Pair<IType,Boolean>>
TypeVarToTypeMap. values()
Methods in gw.lang.parser with parameters of type IType Modifier and Type Method Description static boolean
StandardCoercionManager. arePrimitiveTypesAssignable(IType toType, IType fromType)
boolean
ICoercionManager. canCoerce(IType lhsType, IType rhsType)
boolean
StandardCoercionManager. canCoerce(IType lhsType, IType rhsType)
Object
ICoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
ICoercionManager. convertNullAsPrimitive(IType intrType, boolean isForBoxing)
Converts a null value to a value compatible with the specified primitive type.Object
StandardCoercionManager. convertNullAsPrimitive(IType intrType, boolean isForBoxing)
Object
ICoercionManager. convertValue(Object value, IType intrType)
Object
StandardCoercionManager. convertValue(Object value, IType intrType)
Given a value and a target Class, return a compatible value via the target Class.ICoercer
ICoercionManager. findCoercer(IType lhsType, IType rhsType, boolean runtime)
ICoercer
StandardCoercionManager. findCoercer(IType lhsType, IType rhsType, boolean runtime)
protected ICoercer
StandardCoercionManager. getCoercerInternal(IType lhsType, IType rhsType, boolean runtime)
Returns a coercer from values of rhsType to values of lhsType if one exists.protected ICoercer
StandardCoercionManager. getHighPriorityPrimitiveOrBoxedConverter(IType type)
protected ICoercer
StandardCoercionManager. getPrimitiveOrBoxedConverter(IType type)
int
ICoercer. getPriority(IType to, IType from)
static boolean
StandardCoercionManager. isBoxed(IType lhsType)
boolean
ICoercionManager. isPrimitiveOrBoxed(IType type)
Determine whether the specified type is either a primitive or a boxed primitive.boolean
StandardCoercionManager. isPrimitiveOrBoxed(IType lhsType)
static boolean
StandardCoercionManager. isStructurallyAssignable(IType toType, IType fromType)
static boolean
StandardCoercionManager. isStructurallyAssignable_Laxed(IType toType, IType fromType)
static boolean
StandardCoercionManager. isStructurallyAssignable_Laxed(IType toType, IType fromType, TypeVarToTypeMap inferenceMap)
static boolean
StandardCoercionManager. isStructurallyAssignable_Laxed(IType toType, IType fromType, IMethodInfo specificMethod, TypeVarToTypeMap inferenceMap)
boolean
ICoercionManager. notCoercibleOrRequiresExplicitCoercion(IType lhsType, IType rhsType)
boolean
StandardCoercionManager. notCoercibleOrRequiresExplicitCoercion(IType lhsType, IType rhsType)
IParseResult
IGosuProgramParser. parseEval(String strSource, List<ICapturedSymbol> symTable, IType enclosingClass, IParsedElement evalExpressionOrAnyCtxElement, ISymbolTable extSyms)
IExpression
IGosuParser. parseExp(IScriptPartId partId, IType expectedExpressionType)
Parses a Gosu expression.IExpression
IGosuParser. parseExp(IScriptPartId partId, IType expectedExpressionType, IFileContext context, boolean assignRuntime)
Parses a Gosu expression.IProgram
IGosuParser. parseProgram(IScriptPartId partId, boolean isolatedScope, boolean reallyIsolatedScope, IType expectedExpressionType, IFileContext ctx, boolean assignRuntime)
IProgram
IGosuParser. parseProgram(IScriptPartId partId, boolean isolatedScope, boolean reallyIsolatedScope, IType expectedExpressionType, IFileContext ctx, boolean assignRuntime, boolean bDoNotThrowParseResultsException)
IProgram
IGosuParser. parseProgram(IScriptPartId partId, boolean isolatedScope, boolean reallyIsolatedScope, IType expectedExpressionType, IFileContext ctx, boolean assignRuntime, boolean bDoNotThrowParseResultsException, IType superType)
IProgram
IGosuParser. parseProgram(IScriptPartId partId, boolean isolatedScope, IType expectedExpressionType)
IProgram
IGosuParser. parseProgram(IScriptPartId partId, IType expectedExpressionType)
IProgram
IGosuParser. parseProgram(IScriptPartId partId, IType expectedExpressionType, IFileContext ctx, boolean assignRuntime)
IProgram
IGosuParser. parseProgram(IScriptPartId partId, IType expectedExpressionType, IFileContext ctx, boolean assignRuntime, boolean bDoNotThrowParseResultsException)
IParseResult
IGosuProgramParser. parseRuntimeExpr(String typeName, String strSource, IType enclosingClass, ISymbolTable extSyms, IParseTree ctxElem)
IType
TypeVarToTypeMap. put(ITypeVariableType tvType, IType type)
IType
TypeVarToTypeMap. put(ITypeVariableType tvType, IType type, boolean bReverse)
ICoercer
ICoercionManager. resolveCoercerStatically(IType lhsType, IType rhsType)
Determine and return a statically valid coercer from the rhsType to the lhsType.ICoercer
StandardCoercionManager. resolveCoercerStatically(IType typeToCoerceTo, IType typeToCoerceFrom)
IType
IResolvingCoercer. resolveType(IType target, IType source)
This method should produce a more appropriately parameterized type for the given target type for this coercion.void
IParseIssue. setExpectedType(IType argType)
void
DefaultReducedSymbol. setType(IType type)
void
ISymbol. setType(IType type)
Sets the Symbol's type.IType
ICoercionManager. verifyTypesComparable(IType lhsType, IType rhsType, boolean bBiDirectional)
Verifies that the right hand type can be converted or coerced to the left hand type.IType
ICoercionManager. verifyTypesComparable(IType lhsType, IType rhsType, boolean bBiDirectional, IFullParserState parserState)
Verifies that the right hand type can be converted or coerced to the left hand type.IType
StandardCoercionManager. verifyTypesComparable(IType lhsType, IType rhsType, boolean bBiDirectional)
IType
StandardCoercionManager. verifyTypesComparable(IType lhsType, IType rhsType, boolean bBiDirectional, IFullParserState parserState)
ParserOptions
ParserOptions. withExpectedType(IType expectedType)
ParserOptions
ParserOptions. withSuperType(IType superType)
Method parameters in gw.lang.parser with type arguments of type IType Modifier and Type Method Description ArrayList<ISymbol>
IGosuParser. parseParameterDeclarationList(IParsedElement pe, boolean bStatic, List<IType> inferredArgumentTypes)
Constructors in gw.lang.parser with parameters of type IType Constructor Description DefaultReducedSymbol(String name, IType type)
ScriptPartId(IType type, String strPartId)
-
Uses of IType in gw.lang.parser.coercers
Methods in gw.lang.parser.coercers that return IType Modifier and Type Method Description IType
BasePrimitiveCoercer. resolveType(IType target, IType source)
IType
FunctionToInterfaceCoercer. resolveType(IType target, IType source)
IType
MetaTypeToClassCoercer. resolveType(IType target, IType source)
Methods in gw.lang.parser.coercers with parameters of type IType Modifier and Type Method Description static boolean
FunctionFromInterfaceCoercer. areTypesCompatible(IFunctionType functionType, IType interfaceType)
Object
BasePHighPriorityCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
BasePrimitiveCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
BigDecimalCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
BigIntegerCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
BlockCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
BooleanCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
ByteCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
CharCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
DateCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
DoubleCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
FeatureReferenceToBlockCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
FloatCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
FunctionFromInterfaceCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
FunctionToInterfaceCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
GosuArrayToJavaArrayCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
IdentityCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
IMonitorLockCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
IntCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
LongCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
MetaTypeToClassCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
MethodReferenceCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
NonWarningStringCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
PrimitiveCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
PriorityDelegatingCoercer. coerceValue(IType typeToCoerceTo, Object value)
Rational
RationalCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
RuntimeCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
ShortCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
StringBufferCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
StringBuilderCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
StringCoercer. coerceValue(IType typeToCoerceTo, Object value)
Object
TypeVariableCoercer. coerceValue(IType typeToCoerceTo, Object value)
int
BaseBoxedCoercer. getPriority(IType to, IType from)
int
BasePHighPriorityCoercer. getPriority(IType to, IType from)
int
BasePrimitiveCoercer. getPriority(IType to, IType from)
int
BigDecimalCoercer. getPriority(IType to, IType from)
int
BigIntegerCoercer. getPriority(IType to, IType from)
int
BlockCoercer. getPriority(IType to, IType from)
int
FeatureReferenceToBlockCoercer. getPriority(IType to, IType from)
int
FunctionFromInterfaceCoercer. getPriority(IType to, IType from)
int
FunctionToInterfaceCoercer. getPriority(IType to, IType from)
int
GosuArrayToJavaArrayCoercer. getPriority(IType to, IType from)
int
IdentityCoercer. getPriority(IType to, IType from)
int
IMonitorLockCoercer. getPriority(IType to, IType from)
int
MetaTypeToClassCoercer. getPriority(IType to, IType from)
int
MethodReferenceCoercer. getPriority(IType to, IType from)
int
PrimitiveCoercer. getPriority(IType to, IType from)
int
PriorityDelegatingCoercer. getPriority(IType to, IType from)
int
RationalCoercer. getPriority(IType to, IType from)
int
RuntimeCoercer. getPriority(IType to, IType from)
int
StandardCoercer. getPriority(IType to, IType from)
int
TypeVariableCoercer. getPriority(IType to, IType from)
static int
BasePrimitiveCoercer. getPriorityOf(IType to, IType from)
static IFunctionType
FunctionToInterfaceCoercer. getRepresentativeFunctionType(IType interfaceType)
static IMethodInfo
FunctionToInterfaceCoercer. getSingleMethod(IType interfaceType)
protected boolean
StandardCoercer. isCoercingDimensionWithSameType(IType to, IType from)
static int
BasePrimitiveCoercer. losesInformation(IType from, IType to)
IType
BasePrimitiveCoercer. resolveType(IType target, IType source)
IType
FunctionToInterfaceCoercer. resolveType(IType target, IType source)
IType
MetaTypeToClassCoercer. resolveType(IType target, IType source)
Constructors in gw.lang.parser.coercers with parameters of type IType Constructor Description BasePrimitiveCoercer(ICoercer nonPrimitiveCoercer, IType primitiveType, IType nonPrimitiveType)
-
Uses of IType in gw.lang.parser.exceptions
Methods in gw.lang.parser.exceptions that return IType Modifier and Type Method Description IType
ParseException. getExpectedType()
IType
ParseIssue. getExpectedType()
IType
ParseWarning. getExpectedType()
IType[]
ParseException. getParamTypesExpected()
IType
ICoercionIssue. getTypeToCoerceTo()
IType
ImplicitCoercionError. getTypeToCoerceTo()
IType
ImplicitCoercionWarning. getTypeToCoerceTo()
Methods in gw.lang.parser.exceptions with parameters of type IType Modifier and Type Method Description static String
ParseResultsException. getExpectedTypeName(IType type)
void
ParseException. setExpectedType(IType typeExpected)
Sets the expected type information from the parser.void
ParseWarning. setExpectedType(IType argType)
void
ParseException. setParamTypesExpected(IType... paramTypesExpected)
Constructors in gw.lang.parser.exceptions with parameters of type IType Constructor Description ImplicitCoercionError(IParserState standardParserState, ResourceKey msgImplicitCoercionWarning, IType typeToCoerceTo, Object... args)
ImplicitCoercionWarning(IParserState standardParserState, ResourceKey msgImplicitCoercionWarning, IType typeToCoerceTo, Object... args)
ParseException(IParserState parserState, IType typeExpected, ResourceKey msgKey, Object... args)
-
Uses of IType in gw.lang.parser.expressions
Methods in gw.lang.parser.expressions that return IType Modifier and Type Method Description IType[]
IBeanMethodCallExpression. getArgTypes()
IType[]
INewExpression. getArgTypes()
IType
ITypeVariableDefinition. getBoundingType()
IType
IArrayAccessExpression. getComponentType()
IType
IMapAccessExpression. getComponentType()
IType
ITypeVariableDefinition. getEnclosingType()
IType
IFeatureLiteralExpression. getFinalRootType()
IType
IMapAccessExpression. getKeyType()
IType
IFeatureLiteralExpression. getRootType()
IType
IMemberAccessExpression. getRootType()
IType
IVarStatement. getType()
Methods in gw.lang.parser.expressions that return types with arguments of type IType Modifier and Type Method Description List<IType>
IDelegateStatement. getConstituents()
Methods in gw.lang.parser.expressions with parameters of type IType Modifier and Type Method Description static Variance
Variance. maybeInferVariance(IType type, IGenericTypeVariable gtv)
void
ITypeVariableDefinition. setEnclosingType(IType enclosingType)
void
ITypeLiteralExpression. setType(IType strFqn)
static void
Variance. verifyDefaultTypeVarVariance(IType enclosingType, Variance ctxVariance, IType... types)
static void
Variance. verifyTypeVarVariance(Variance variance, IType enclosingType, Variance.IVarianceVerifier verifier, IType type)
-
Uses of IType in gw.lang.parser.statements
Methods in gw.lang.parser.statements that return IType Modifier and Type Method Description IType
ICatchClause. getCatchType()
IType[]
IInterfacesClause. getInterfaces()
IType
ISuperTypeClause. getSuperType()
IType
ITypeLoaderStatement. getTypeLoader()
-
Uses of IType in gw.lang.parser.template
Methods in gw.lang.parser.template that return IType Modifier and Type Method Description IType
ITemplateGenerator. getSuperType()
-
Uses of IType in gw.lang.reflect
Subinterfaces of IType in gw.lang.reflect Modifier and Type Interface Description interface
IBlockType
interface
ICompoundType
interface
IConstructorType
interface
IDefaultArrayType
interface
IDynamicType
interface
IEnhanceableType
interface
IEnumType
interface
IErrorType
interface
IFunctionType
interface
IInvocableType
interface
IMetaType
interface
INamespaceType
interface
INonLoadableType
interface
ITypeDeprecated
interface
ITypeVariableArrayType
interface
ITypeVariableType
interface
Type<T>
Classes in gw.lang.reflect that implement IType Modifier and Type Class Description class
AbstractType
class
DefaultArrayType
class
DefaultNonLoadableArrayType
class
FunctionArrayType
class
FunctionType
class
InnerClassCapableType
class
ITypeRef
class
ParameterizedFunctionType
class
TypeBase
Fields in gw.lang.reflect declared as IType Modifier and Type Field Description static IType[]
IType. EMPTY_ARRAY
static IType[]
IType. EMPTY_TYPE_ARRAY
Fields in gw.lang.reflect with type parameters of type IType Modifier and Type Field Description protected Set<IType>
FunctionType. _allTypesInHierarchy
static ArrayList<IType>
IType. EMPTY_TYPE_LIST
Methods in gw.lang.reflect with type parameters of type IType Modifier and Type Method Description <E extends IType>
EMethodScorer. getGenericType(E type)
static <E extends IType>
ETypeSystem. getPureGenericType(E type)
Methods in gw.lang.reflect that return IType Modifier and Type Method Description IType
ITypeSystem. boundTypes(IType parameterType, List<IType> inferringTypes)
static IType
TypeSystem. boundTypes(IType targetType, List<IType> typesToBound)
static IType[]
TypeSystem. boxPrimitiveTypeParams(IType[] typeParams)
protected IType
FeatureManager. convertType(IType type)
static IType[]
ReflectUtil. extractRuntimeTypes(Object... args)
static IType[]
FunctionType. findContravariantParams(IType[] lhsParams, IType[] rhsParams)
IType
ITypeSystem. findParameterizedType(IType type, IType rhsType)
static IType
TypeSystem. findParameterizedType(IType type, IType rhsType)
IType
ITypeSystem. get(IJavaClassInfo javaClassInfo)
Gets the intrinsic type for a given class info object.IType
ITypeSystem. get(Class<?> javaClass)
Gets the intrinsic type for a given class.static IType
TypeSystem. get(IJavaClassInfo javaClassInfo)
static IType
TypeSystem. get(IJavaClassInfo classInfo, IModule module)
static IType
TypeSystem. get(Class javaClass)
Gets the intrinsic type for a given class.static IType
TypeSystem. get(Class javaClass, IModule module)
IType
ITypeSystem. getActualType(IType type, TypeVarToTypeMap actualParamByVarName, boolean bKeepTypeVars)
static IType
TypeSystem. getActualType(IType type, TypeVarToTypeMap actualParamByVarName, boolean bKeepTypeVars)
IType
FunctionType. getArrayType()
IType
IType. getArrayType()
Make an array type from this type.IType
ParameterizedFunctionType. getArrayType()
IType
TypeBase. getArrayType()
default IType
IIntrinsicTypeReference. getAssignableFeatureType()
The type this feature can be assigned from.IType
ITypeVariableType. getBoundingType()
IType
ITypeSystem. getBoxType(IType primitiveType)
static IType
TypeSystem. getBoxType(IType primitiveType)
IType
ITypeSystem. getByFullName(String fullyQualifiedName)
Gets an intrinsic type based on a fully-qualified name.static IType
TypeSystem. getByFullName(String fullyQualifiedName)
Gets an intrinsic type based on a fully-qualified name.static IType
TypeSystem. getByFullName(String fullyQualifiedName, IModule module)
static IType
TypeSystem. getByFullName(String fullyQualifiedName, String moduleName)
Deprecated.call getByFullName( String, IModule )IType
ITypeSystem. getByFullNameIfValid(String fullyQualifiedName)
Gets a type based on a fully-qualified name.static IType
TypeSystem. getByFullNameIfValid(String fullyQualifiedName)
Gets a type based on a fully-qualified name.static IType
TypeSystem. getByFullNameIfValid(String typeName, IModule module)
IType
ITypeSystem. getByFullNameIfValidNoJava(String fullyQualifiedName)
static IType
TypeSystem. getByFullNameIfValidNoJava(String fullyQualifiedName)
IType
ITypeSystem. getByRelativeName(String relativeName)
IType
ITypeSystem. getByRelativeName(String relativeName, ITypeUsesMap typeUses)
Gets an intrinsic type based on a relative name.static IType
TypeSystem. getByRelativeName(String relativeName)
static IType
TypeSystem. getByRelativeName(String relativeName, ITypeUsesMap typeUses)
Gets an intrinsic type based on a relative name.IType
FeatureManagerTypeInfoBase. getCompilingClass()
IType
ITypeSystem. getCompilingType(String strName)
static IType
TypeSystem. getCompilingType(String strName)
IType
DefaultArrayType. getComponentType()
IType
FunctionType. getComponentType()
IType
IType. getComponentType()
If this is an array type, a type representing the component type of the array.IType
ITypeSystem. getComponentType(IType valueType)
IType
ParameterizedFunctionType. getComponentType()
IType
TypeBase. getComponentType()
static IType
TypeSystem. getComponentType(IType valueType)
IType
ITypeSystem. getCompoundType(Set<IType> types)
static IType
TypeSystem. getCompoundType(Set<IType> types)
IType
ITypeSystem. getCurrentCompilingType()
static IType
TypeSystem. getCurrentCompilingType()
IType
IConstructorType. getDeclaringType()
Returns the type being contructed.IType
ITypeSystem. getDefaultParameterizedType(IType type)
static IType
TypeSystem. getDefaultParameterizedType(IType type)
IType
ITypeSystem. getDefaultParameterizedTypeWithTypeVars(IType type)
static IType
TypeSystem. getDefaultParameterizedTypeWithTypeVars(IType type)
IType
DefaultArrayType. getEnclosingType()
IType
FunctionType. getEnclosingType()
IType
IType. getEnclosingType()
Returns the type immediately enclosing this type.IType
ParameterizedFunctionType. getEnclosingType()
IType
TypeBase. getEnclosingType()
IType
AnnotationReflectUtil.SyntheticExceptionInfo. getExceptionType()
IType
IExceptionInfo. getExceptionType()
Returns the intrinsic type this exception representsIType
ITypeSystem. getExpandableComponentType(IType type)
IType
IIntrinsicTypeReference. getFeatureType()
The type of this feature e.g., for a property this is the property's type.IType
ParameterInfoBuilder.BuiltParameterInfo. getFeatureType()
IType
PropertyInfoBuilder.BuiltPropertyInfo. getFeatureType()
IType
PropertyInfoDelegate. getFeatureType()
IType
SimpleParameterInfo. getFeatureType()
IType
TypedParameterDescriptor. getFeatureType()
IType
TypedPropertyDescriptor. getFeatureType()
IType
ITypeSystem. getFromObject(Object object)
Returns the intrinsic type for the given Object.static IType
TypeSystem. getFromObject(Object object)
Returns the intrinsic type for the given Object.static IType
TypeSystem. getFromObject(Object object, IModule module)
IType
ITypeSystem. getFunctionalInterface(IFunctionType type)
static IType
TypeSystem. getFunctionalInterface(IFunctionType type)
IType
DefaultArrayType. getGenericType()
IType
FunctionType. getGenericType()
IType
IType. getGenericType()
If this is a parameterized type, returns the generic type this type parameterizes.IType
ParameterizedFunctionType. getGenericType()
IType
TypeBase. getGenericType()
IType[]
DefaultArrayType. getInterfaces()
IType[]
FunctionType. getInterfaces()
IType[]
IType. getInterfaces()
IType[]
ParameterizedFunctionType. getInterfaces()
IType
FunctionType. getIntrinsicType()
IType
IExtendedTypeLoader. getIntrinsicTypeFromObject(Object object)
Returns the intrinsic type for the given Object.IType
ITypeSystem. getJavaType(Class javaClass)
static IType
TypeSystem. getJavaType(Class javaClass)
Deprecated.IType
IEntityAccess. getKeyType()
static IType
TypeSystem. getKeyType()
IType
ModifiedParameterInfo. getOriginalType()
IType
AnnotationReflectUtil.SyntheticExceptionInfo. getOwnersType()
IType
BaseFeatureInfo. getOwnersType()
IType
DefaultArrayTypeInfo. getOwnersType()
IType
FeatureManagerTypeInfoBase. getOwnersType()
IType
IAnnotationInfo. getOwnersType()
IType
IFeatureInfo. getOwnersType()
Get this feature's owner's type.IType
MethodInfoBase. getOwnersType()
IType
MethodInfoDelegate. getOwnersType()
IType
ParameterInfoBuilder.BuiltParameterInfo. getOwnersType()
IType
PropertyInfoBase. getOwnersType()
IType
PropertyInfoDelegate. getOwnersType()
IType
FunctionType. getOwningParameterizedType()
IType[]
FunctionType. getParameterizedParameterTypes(IType... typeParams)
IType[]
IGenericMethodInfo. getParameterizedParameterTypes(IType... typeParams)
IType[]
MethodInfoDelegate. getParameterizedParameterTypes(IType... typeParams)
IType[]
FunctionType. getParameterizedParameterTypes2(IType ownersType, IType... typeParams)
IType[]
IGenericMethodInfo. getParameterizedParameterTypes2(IType owningParameterizedType, IType[] typeParams)
IType[]
MethodInfoDelegate. getParameterizedParameterTypes2(IType ownersType, IType... typeParams)
IType
FunctionType. getParameterizedReturnType(IType... typeParams)
IType
IGenericMethodInfo. getParameterizedReturnType(IType... typeParams)
IType
MethodInfoDelegate. getParameterizedReturnType(IType... typeParams)
IType
DefaultArrayType. getParameterizedType(IType... ofType)
IType
IType. getParameterizedType(IType... ofType)
Assuming this intrinsic type is a Generic type, return the parameterized type associated with the given list of type parameters.IType
TypeBase. getParameterizedType(IType... ofType)
IType[]
FunctionType. getParameterTypes()
IType[]
IConstructorType. getParameterTypes()
The constructor's argument types.IType[]
IFunctionType. getParameterTypes()
IType[]
IInvocableType. getParameterTypes()
IType[]
ParameterizedFunctionType. getParameterTypes()
static IType[]
BaseFeatureInfo. getParamTypes(IParameterInfo[] parameters)
IType
ITypeSystem. getPrimitiveType(IType boxType)
static IType
TypeSystem. getPrimitiveType(IType boxType)
IType
MethodScore. getReceiverType()
IType
FunctionType. getReturnType()
IType
IFunctionType. getReturnType()
IType
IMethodInfo. getReturnType()
IType
MethodInfoDelegate. getReturnType()
IType
ParameterizedFunctionType. getReturnType()
IType
SimpleMethodInfo. getReturnType()
IType
DefaultArrayType. getSupertype()
IType
FunctionType. getSupertype()
IType
IType. getSupertype()
Returns the type representing the supertype of this type.IType
ParameterizedFunctionType. getSupertype()
protected IType
AbstractType. getTheRef()
IType
IAnnotationInfo. getType()
IType
IConstructorInfo. getType()
IType
IMetaType. getType()
IType
ITypeLoader. getType(String fullyQualifiedName)
Gets a type based on a fully-qualified name.IType
NoReferenceFoundException. getType()
static IType
TypeSystem. getTypeFromJavaBackedType(IType type)
static IType
TypeSystem. getTypeFromJavaBasedType(IJavaBackedType javaType)
IType
ITypeSystem. getTypeFromObject(Object obj)
static IType
TypeSystem. getTypeFromObject(Object obj)
IType[]
DefaultArrayType. getTypeParameters()
IType[]
FunctionType. getTypeParameters()
IType[]
IType. getTypeParameters()
If this is a parameterized type, returns the specific types used to create this type, null otherwies.IType[]
ParameterizedFunctionType. getTypeParameters()
IType[]
TypeBase. getTypeParameters()
protected IType
ClassLazyTypeResolver. init()
protected IType
LazyType. init()
protected IType
LazyTypeResolver. init()
protected IType
NotLazyTypeResolver. init()
protected IType
SimpleTypeLazyTypeResolver. init()
protected IType
TypeBase. makeArrayType()
static IType
MethodList. maybeInferParamType(TypeVarToTypeMap inferenceMap, IType ownersType, IType fromParamType, IType toParamType)
static IType
MethodList. maybeInferReturnType(TypeVarToTypeMap inferenceMap, IType ownersType, IType fromReturnType, IType toReturnType)
IType
FunctionType. newInstance(IType[] paramTypes, IType returnType)
IType
IFunctionType. newInstance(IType[] paramTypes, IType returnType)
IType
ParameterizedFunctionType. newInstance(IType[] paramTypes, IType returnType)
IType
ITypeSystem. parseType(String typeString)
Converts a String name of a type into an IType.IType
ITypeSystem. parseType(String typeString, ITypeUsesMap typeUsesMap)
IType
ITypeSystem. parseType(String typeString, TypeVarToTypeMap actualParamByVarName)
IType
ITypeSystem. parseType(String typeString, TypeVarToTypeMap actualParamByVarName, ITypeUsesMap typeUsesMap)
static IType
TypeSystem. parseType(String typeString)
Converts a String name of a type into an IType.static IType
TypeSystem. parseType(String typeString, ITypeUsesMap typeUsesMap)
static IType
TypeSystem. parseType(String typeString, TypeVarToTypeMap actualParamByVarName)
static IType
TypeSystem. parseType(String typeString, TypeVarToTypeMap actualParamByVarName, ITypeUsesMap typeUsesMap)
static IType
TypeSystem. parseTypeLiteral(String typeName)
Parses a type name such as Iterable<Claim>.IType
ITypeSystem. replaceTypeVariableTypeParametersWithBoundingTypes(IType iType, IType type)
static IType
TypeSystem. replaceTypeVariableTypeParametersWithBoundingTypes(IType type, IType enclosingType)
IType
LazyTypeResolver.ITypeResolver. resolve()
IType
InnerClassCapableType. resolveRelativeInnerClass(String strRelativeInnerClassName, boolean bForce)
Methods in gw.lang.reflect that return types with arguments of type IType Modifier and Type Method Description abstract Class<? extends IType>
ITypeRef. _getClassOfRef()
protected static Set<IType>
TypeBase. getAllClassesInClassHierarchyAsIntrinsicTypes(IType type)
Set<IType>
FunctionType. getAllTypesInHierarchy()
Set<? extends IType>
IType. getAllTypesInHierarchy()
Returns a Set of all IIntrinsicTypes that this class is assignable from, including this class.Set<IType>
ParameterizedFunctionType. getAllTypesInHierarchy()
Set<? extends IType>
TypeBase. getAllTypesInHierarchy()
protected Set<IType>
TypeBase. getArrayVersionsOfEachType(Set<? extends IType> componentTypes)
Set<IType>
DefaultArrayType. getCompoundTypeComponents()
Set<IType>
FunctionType. getCompoundTypeComponents()
Set<IType>
IType. getCompoundTypeComponents()
Set<IType>
ParameterizedFunctionType. getCompoundTypeComponents()
Set<IType>
TypeBase. getCompoundTypeComponents()
List<IType>
IShadowingType. getShadowedTypes()
Set<IType>
ICompoundType. getTypes()
protected Set<? extends IType>
TypeBase. loadAllTypesInHierarchy()
Methods in gw.lang.reflect with parameters of type IType Modifier and Type Method Description double
MethodScorer. _addToScoreForTypes(List<IType> inferringTypes, IType paramType, IType argType)
double
MethodScorer. addDegreesOfSeparation(IType parameterType, IType exprType, List<IType> inferringTypes)
double
MethodScorer. addDegreesOfSeparation(IType parameterType, Set<? extends IType> types, List<IType> inferringTypes)
void
IEntityAccess. addEnhancementMethods(IType typeToEnhance, Collection methodsToAddTo)
void
IEntityAccess. addEnhancementProperties(IType typeToEnhance, Map propertyInfosToAddTo, boolean caseSensitive)
double
MethodScorer. addToScoreForTypes(List<IType> inferringTypes, IType paramType, IType argType)
protected boolean
FeatureManager. areMethodParamsEqual(IType thisMethodParamType, IType superMethodParamType)
static boolean
ITypeInfo.FIND. areParamsEqual(IParameterInfo[] srcArgs, IType[] testArgs)
protected boolean
FunctionType. areSameTypes(IType t1, IType t2)
IType
ITypeSystem. boundTypes(IType parameterType, List<IType> inferringTypes)
static IType
TypeSystem. boundTypes(IType targetType, List<IType> typesToBound)
static IType[]
TypeSystem. boxPrimitiveTypeParams(IType[] typeParams)
static IConstructorInfo
ITypeInfo.FIND. callableConstructor(List<? extends IConstructorInfo> constructors, IType... params)
If there is a tie this method will throw an IllegalArgumentException.static IConstructorInfo
ITypeInfo.FIND. callableConstructorStrict(List<? extends IConstructorInfo> constructors, IType... params)
If there is a tie this method will throw an IllegalArgumentException.static IMethodInfo
ITypeInfo.FIND. callableMethod(MethodList methods, CharSequence method, IType... params)
If there is a tie this method will throw an IllegalArgumentException.static IMethodInfo
ITypeInfo.FIND. callableMethodStrict(MethodList methods, CharSequence method, IType... params)
If there is a tie this method will throw an IllegalArgumentException.boolean
ITypeSystem. canCast(IType lhsType, IType rhsType)
static boolean
TypeSystem. canCast(IType lhsType, IType rhsType)
static Object
ReflectUtil. coerce(Object value, IType iType)
static IConstructorInfo
ITypeInfo.FIND. constructor(List<? extends IConstructorInfo> constructors, IType... params)
protected IType
FeatureManager. convertType(IType type)
IJavaTypeInfo
ITypeInfoFactory. create(IType intrType, IJavaClassInfo backingClass)
IJavaTypeInfo
ITypeInfoFactory. create(IType intrType, Class<?> backingClass)
ITypeRef
ITypeRefFactory. create(IType type)
static IMethodInfo
ReflectUtil. findCallableMethod(String methodName, IType[] runtimeTypes, IType type)
static IType[]
FunctionType. findContravariantParams(IType[] lhsParams, IType[] rhsParams)
IType
ITypeSystem. findParameterizedType(IType type, IType rhsType)
static IType
TypeSystem. findParameterizedType(IType type, IType rhsType)
static IPropertyInfo
ReflectUtil. findProperty(IType type, String propertyName)
ITypeRef
ITypeRefFactory. get(IType type)
static IRelativeTypeInfo.Accessibility
FeatureManager. getAccessibilityForClass(IType ownersClass, IType whosAskin)
IRelativeTypeInfo.Accessibility
BaseHandBuiltTypeInfo. getAccessibilityForType(IType whosaskin)
IRelativeTypeInfo.Accessibility
DefaultArrayTypeInfo. getAccessibilityForType(IType whosaskin)
IRelativeTypeInfo.Accessibility
FeatureManagerTypeInfoBase. getAccessibilityForType(IType whosaskin)
IRelativeTypeInfo.Accessibility
IRelativeTypeInfo. getAccessibilityForType(IType whosaskin)
IType
ITypeSystem. getActualType(IType type, TypeVarToTypeMap actualParamByVarName, boolean bKeepTypeVars)
static IType
TypeSystem. getActualType(IType type, TypeVarToTypeMap actualParamByVarName, boolean bKeepTypeVars)
protected static Set<IType>
TypeBase. getAllClassesInClassHierarchyAsIntrinsicTypes(IType type)
IAnnotationInfo
BaseFeatureInfo. getAnnotation(IType type)
IAnnotationInfo
IAnnotatedFeatureInfo. getAnnotation(IType type)
IAnnotationInfo
IAnnotatedFeatureInfo.IAnnotationInfoHelper. getAnnotation(IType type, List<IAnnotationInfo> annotations, String featureName)
IAnnotationInfo
MethodInfoBase. getAnnotation(IType type)
IAnnotationInfo
MethodInfoDelegate. getAnnotation(IType type)
IAnnotationInfo
PropertyInfoBase. getAnnotation(IType type)
IAnnotationInfo
PropertyInfoDelegate. getAnnotation(IType type)
IAnnotationInfo
TypeInfoBase. getAnnotation(IType type)
List<IAnnotationInfo>
BaseFeatureInfo. getAnnotationsOfType(IType type)
Returns the list of annotations exactly matching the annotation passed in.List<IAnnotationInfo>
IAnnotatedFeatureInfo. getAnnotationsOfType(IType type)
List<IAnnotationInfo>
IAnnotatedFeatureInfo.IAnnotationInfoHelper. getAnnotationsOfType(IType type, List<IAnnotationInfo> annotations)
List<IAnnotationInfo>
MethodInfoBase. getAnnotationsOfType(IType type)
List<IAnnotationInfo>
MethodInfoDelegate. getAnnotationsOfType(IType type)
List<IAnnotationInfo>
PropertyInfoBase. getAnnotationsOfType(IType type)
List<IAnnotationInfo>
PropertyInfoDelegate. getAnnotationsOfType(IType type)
List<IAnnotationInfo>
TypeInfoBase. getAnnotationsOfType(IType type)
IType
ITypeSystem. getBoxType(IType primitiveType)
static IType
TypeSystem. getBoxType(IType primitiveType)
IInvocableType
MethodScorer. getCachedMethodScore(IInvocableType funcType, IType callsiteEnclosingType, IType rootType, List<IType> argTypes)
IConstructorInfo
BaseJavaTypeInfo. getCallableConstructor(IType... params)
IConstructorInfo
BaseTypeInfo. getCallableConstructor(IType... params)
IConstructorInfo
FeatureManagerTypeInfoBase. getCallableConstructor(IType... params)
IConstructorInfo
FunctionTypeInfo. getCallableConstructor(IType... params)
IConstructorInfo
ITypeInfo. getCallableConstructor(IType... params)
Returns a IConstructorInfo matching the specified parameter types or null if no match is found.IConstructorInfo
TypeInfoBase. getCallableConstructor(IType... params)
IMethodInfo
BaseJavaTypeInfo. getCallableMethod(CharSequence strMethod, IType... params)
IMethodInfo
BaseTypeInfo. getCallableMethod(CharSequence method, IType... params)
IMethodInfo
FeatureManagerTypeInfoBase. getCallableMethod(CharSequence strMethod, IType... params)
IMethodInfo
FunctionTypeInfo. getCallableMethod(CharSequence strMethod, IType... params)
IMethodInfo
ITypeInfo. getCallableMethod(CharSequence method, IType... params)
Returns a IMethodInfo matching the specified name and has parameter types that produce the best match.IMethodInfo
TypeInfoBase. getCallableMethod(CharSequence method, IType... params)
Set<TypeName>
INamespaceType. getChildren(IType whosaskin)
IType
ITypeSystem. getComponentType(IType valueType)
static IType
TypeSystem. getComponentType(IType valueType)
IConstructorInfo
BaseHandBuiltTypeInfo. getConstructor(IType whosAskin, IType[] params)
IConstructorInfo
BaseJavaTypeInfo. getConstructor(IType... params)
IConstructorInfo
BaseTypeInfo. getConstructor(IType... params)
IConstructorInfo
DefaultArrayTypeInfo. getConstructor(IType whosAskin, IType[] params)
IConstructorInfo
FeatureManager. getConstructor(IRelativeTypeInfo.Accessibility accessibility, IType[] params)
IConstructorInfo
FeatureManagerTypeInfoBase. getConstructor(IType... params)
IConstructorInfo
FeatureManagerTypeInfoBase. getConstructor(IType whosAskin, IType[] params)
IConstructorInfo
FunctionTypeInfo. getConstructor(IType... params)
IConstructorInfo
IRelativeTypeInfo. getConstructor(IType whosAskin, IType[] params)
IConstructorInfo
ITypeInfo. getConstructor(IType... params)
Returns a IConstructorInfo that has parameter types that produce the best match.IConstructorInfo
TypeInfoBase. getConstructor(IType... params)
List<? extends IConstructorInfo>
BaseHandBuiltTypeInfo. getConstructors(IType whosaskin)
List<? extends IConstructorInfo>
DefaultArrayTypeInfo. getConstructors(IType whosaskin)
List<? extends IConstructorInfo>
FeatureManagerTypeInfoBase. getConstructors(IType whosAskin)
List<? extends IConstructorInfo>
IRelativeTypeInfo. getConstructors(IType whosaskin)
IType
ITypeSystem. getDefaultParameterizedType(IType type)
static IType
TypeSystem. getDefaultParameterizedType(IType type)
IType
ITypeSystem. getDefaultParameterizedTypeWithTypeVars(IType type)
static IType
TypeSystem. getDefaultParameterizedTypeWithTypeVars(IType type)
IPropertyInfo
IEntityAccess. getEntityIdProperty(IType rootType)
Object
IEntityAccess. getEntityInstanceFrom(Object entity, IType classDomain)
IType
ITypeSystem. getExpandableComponentType(IType type)
static String
TypeSystem. getGenericName(IType type)
static String
TypeSystem. getGenericName(IType type, boolean bRelative, boolean bRelativeBounds)
static String
TypeSystem. getGenericRelativeName(IType type, boolean bRelativeBounds)
long
IEntityAccess. getHashedEntityId(String strId, IType classEntity)
String
IEntityAccess. getLocalizedTypeInfoName(IType type)
String
IEntityAccess. getLocalizedTypeName(IType type)
IMethodInfo
BaseHandBuiltTypeInfo. getMethod(IType whosaskin, CharSequence methodName, IType... params)
IMethodInfo
BaseJavaTypeInfo. getMethod(CharSequence methodName, IType... params)
IMethodInfo
BaseTypeInfo. getMethod(CharSequence methodName, IType... params)
IMethodInfo
DefaultArrayTypeInfo. getMethod(IType whosaskin, CharSequence methodName, IType... params)
IMethodInfo
FeatureManager. getMethod(IRelativeTypeInfo.Accessibility accessibility, CharSequence methodName, IType... params)
IMethodInfo
FeatureManagerTypeInfoBase. getMethod(IType whosaskin, CharSequence methodName, IType... params)
IMethodInfo
FeatureManagerTypeInfoBase. getMethod(CharSequence methodName, IType... params)
IMethodInfo
FunctionTypeInfo. getMethod(CharSequence methodName, IType... params)
IMethodInfo
IRelativeTypeInfo. getMethod(IType whosaskin, CharSequence methodName, IType... params)
IMethodInfo
ITypeInfo. getMethod(CharSequence methodName, IType... params)
Returns a IMethodInfo matching the specified name and parameter types or null if no match is found.IMethodInfo
TypeInfoBase. getMethod(CharSequence methodName, IType... params)
MethodList
BaseHandBuiltTypeInfo. getMethods(IType whosaskin)
MethodList
DefaultArrayTypeInfo. getMethods(IType whosaskin)
MethodList
FeatureManagerTypeInfoBase. getMethods(IType whosAskin)
MethodList
IRelativeTypeInfo. getMethods(IType whosaskin)
static List<? extends IMethodInfo>
TypeSystem. getMethods(ITypeInfo beanInfo, IType ownersIntrinsicType)
static IModule
TypeSystem. getModuleFromType(IType type)
String
ITypeSystem. getNameOfParams(IType[] paramTypes, boolean bRelative, boolean bWithEnclosingType)
static String
TypeSystem. getNameOfParams(IType[] paramTypes, boolean bRelative, boolean bWithEnclosingType)
String
ITypeSystem. getNameWithQualifiedTypeVariables(IType type)
static String
TypeSystem. getNameWithQualifiedTypeVariables(IType type)
IFunctionType
ITypeSystem. getOrCreateFunctionType(String strFunctionName, IType retType, IType[] paramTypes)
static IFunctionType
TypeSystem. getOrCreateFunctionType(String strFunctionName, IType retType, IType[] paramTypes)
ITypeRef
ITypeSystem. getOrCreateTypeReference(IType type)
static ITypeRef
TypeSystem. getOrCreateTypeReference(IType type)
IMPORTANT: The only time you should call this method is: 1) within a class implementing IType, or 2) wrapping a call to a Type constructor, typically within a type loader e.g., TypeSystem.getOrCreateTypeReference( new MyVeryOwnType() ) Gets or creates a type ref for the specified type.ITypeVariableType
ITypeSystem. getOrCreateTypeVariableType(String strName, IType boundingType, IType enclosingType)
static ITypeVariableType
TypeSystem. getOrCreateTypeVariableType(String strName, IType boundingType, IType enclosingType)
IType[]
FunctionType. getParameterizedParameterTypes(IType... typeParams)
IType[]
IGenericMethodInfo. getParameterizedParameterTypes(IType... typeParams)
IType[]
MethodInfoDelegate. getParameterizedParameterTypes(IType... typeParams)
IType[]
FunctionType. getParameterizedParameterTypes2(IType ownersType, IType... typeParams)
IType[]
IGenericMethodInfo. getParameterizedParameterTypes2(IType owningParameterizedType, IType[] typeParams)
IType[]
MethodInfoDelegate. getParameterizedParameterTypes2(IType ownersType, IType... typeParams)
IType
FunctionType. getParameterizedReturnType(IType... typeParams)
IType
IGenericMethodInfo. getParameterizedReturnType(IType... typeParams)
IType
MethodInfoDelegate. getParameterizedReturnType(IType... typeParams)
IType
DefaultArrayType. getParameterizedType(IType... ofType)
ParameterizedFunctionType
FunctionType. getParameterizedType(IType... typeParams)
IType
IType. getParameterizedType(IType... ofType)
Assuming this intrinsic type is a Generic type, return the parameterized type associated with the given list of type parameters.ParameterizedFunctionType
ParameterizedFunctionType. getParameterizedType(IType... paramTypes)
IType
TypeBase. getParameterizedType(IType... ofType)
static String
FunctionType. getParamTypeNameFromJavaBackedType(IType paramType)
IType
ITypeSystem. getPrimitiveType(IType boxType)
static IType
TypeSystem. getPrimitiveType(IType boxType)
List<? extends IPropertyInfo>
BaseHandBuiltTypeInfo. getProperties(IType whosaskin)
List<? extends IPropertyInfo>
DefaultArrayTypeInfo. getProperties(IType whosaskin)
List<IPropertyInfo>
FeatureManagerTypeInfoBase. getProperties(IType whosAskin)
List<? extends IPropertyInfo>
IRelativeTypeInfo. getProperties(IType whosaskin)
static List<? extends IPropertyInfo>
TypeSystem. getProperties(ITypeInfo beanInfo, IType classSource)
IPropertyInfo
BaseHandBuiltTypeInfo. getProperty(IType whosaskin, CharSequence propName)
IPropertyInfo
DefaultArrayTypeInfo. getProperty(IType whosaskin, CharSequence propName)
IPropertyInfo
FeatureManagerTypeInfoBase. getProperty(IType whosAskin, CharSequence propName)
IPropertyInfo
IRelativeTypeInfo. getProperty(IType whosaskin, CharSequence propName)
static IPropertyInfo
TypeSystem. getPropertyInfo(IType classBean, String strProperty, IFeatureFilter filter, IParserPart parserBase, IScriptabilityModifier scriptabilityConstraint)
static Object
ReflectUtil. getStaticProperty(IType type, String propertyName)
static IType
TypeSystem. getTypeFromJavaBackedType(IType type)
static String
SimpleParameterInfo. getTypeName(IType type)
static String
TypeInfoUtil. getTypeName(IType type)
ITypeRef
ITypeSystem. getTypeReference(IType type)
static ITypeRef
TypeSystem. getTypeReference(IType type)
IMPORTANT: The only time you should call this method is: 1) wrapping a call to a Type constructor, typically within a type loader e.g., TypeSystem.getOrCreateTypeReference( new MyVeryOwnType() ) Do NOT call this when creating the type.static String
TypeSystem. getUnqualifiedClassName(IType cls)
boolean
BaseFeatureInfo. hasAnnotation(IType type)
boolean
DefaultArrayTypeInfo. hasAnnotation(IType type)
boolean
FeatureManagerTypeInfoBase. hasAnnotation(IType type)
boolean
IAnnotatedFeatureInfo. hasAnnotation(IType type)
boolean
IAnnotatedFeatureInfo.IAnnotationInfoHelper. hasAnnotation(IType type, List<IAnnotationInfo> annotations)
boolean
MethodInfoBase. hasAnnotation(IType type)
boolean
MethodInfoDelegate. hasAnnotation(IType type)
boolean
PropertyInfoBase. hasAnnotation(IType type)
boolean
PropertyInfoDelegate. hasAnnotation(IType type)
boolean
TypeInfoBase. hasAnnotation(IType type)
boolean
BaseFeatureInfo. hasDeclaredAnnotation(IType type)
boolean
IAnnotatedFeatureInfo. hasDeclaredAnnotation(IType type)
boolean
MethodInfoBase. hasDeclaredAnnotation(IType type)
boolean
MethodInfoDelegate. hasDeclaredAnnotation(IType type)
boolean
PropertyInfoBase. hasDeclaredAnnotation(IType type)
boolean
PropertyInfoDelegate. hasDeclaredAnnotation(IType type)
boolean
TypeInfoBase. hasDeclaredAnnotation(IType type)
IFunctionType
FunctionType. inferParameterizedTypeFromArgTypesAndContextType(IType[] argTypes, IType ctxType)
IFunctionType
IFunctionType. inferParameterizedTypeFromArgTypesAndContextType(IType[] eArgs, IType ctxType)
IFunctionType
ParameterizedFunctionType. inferParameterizedTypeFromArgTypesAndContextType(IType[] eArgs, IType ctxType)
TypeVarToTypeMap
FunctionType. inferTypeParametersFromArgumentTypes(IType... argTypes)
TypeVarToTypeMap
IGenericMethodInfo. inferTypeParametersFromArgumentTypes(IType... argTypes)
TypeVarToTypeMap
MethodInfoDelegate. inferTypeParametersFromArgumentTypes(IType... argTypes)
TypeVarToTypeMap
FunctionType. inferTypeParametersFromArgumentTypes2(IType owningParameterizedType, IType... argTypes)
TypeVarToTypeMap
IGenericMethodInfo. inferTypeParametersFromArgumentTypes2(IType owningParameterizedType, IType... argTypes)
TypeVarToTypeMap
MethodInfoDelegate. inferTypeParametersFromArgumentTypes2(IType owningParameterizedType, IType... argTypes)
void
ITypeSystem. inferTypeVariableTypesFromGenParamTypeAndConcreteType(IType genParamType, IType argType, TypeVarToTypeMap map)
static void
TypeSystem. inferTypeVariableTypesFromGenParamTypeAndConcreteType(IType genParamType, IType argType, TypeVarToTypeMap map, boolean bReverse)
void
ITypeSystem. inferTypeVariableTypesFromGenParamTypeAndConcreteType_Reverse(IType genParamType, IType argType, TypeVarToTypeMap map)
boolean
DefaultArrayType. isAssignableFrom(IType type)
boolean
FunctionType. isAssignableFrom(IType type)
boolean
FunctionType. isAssignableFrom(IType type, boolean bContravariant)
boolean
IFunctionType. isAssignableFrom(IType type, boolean bContravariant)
boolean
IType. isAssignableFrom(IType type)
Determines if the type represented by this intrinsic type is either the same as, or is a super-type of the type represented by the specified type parameter.boolean
ParameterizedFunctionType. isAssignableFrom(IType type)
boolean
ParameterizedFunctionType. isAssignableFrom(IType type, boolean bContravariant)
boolean
TypeBase. isAssignableFrom(IType type)
static boolean
TypeSystem. isBeanType(IType typeSource)
static boolean
TypeSystem. isBoxedTypeFor(IType primitiveType, IType boxedType)
static boolean
TypeSystem. isBytecodeType(IType type)
static boolean
TypeSystem. isDeleted(IType type)
boolean
IEntityAccess. isEntityClass(IType type)
boolean
ITypeSystem. isExpandable(IType type)
static boolean
TypeSystem. isExpandable(IType type)
static boolean
FeatureManager. isInEnclosingClassHierarchy(IType ownersClass, IType whosAskin)
protected static boolean
FeatureManager. isInEnhancedTypesHierarchy(IType ownersClass, IType whosAskin)
boolean
IAnnotatedFeatureInfo.IAnnotationInfoHelper. isInherited(IType type)
protected static boolean
FeatureManager. isInHierarchy(IType ownersClass, IType whosAskin)
static boolean
FeatureManager. isInSameNamespace(IType ownersClass, IType whosAskin)
boolean
IEntityAccess. isInternal(IType type)
static boolean
TypeSystem. isNumericType(IType intrType)
boolean
ITypeSystem. isParameterizedWith(IType type, ITypeVariableType... typeVar)
static boolean
TypeSystem. isParameterizedWith(IType type, ITypeVariableType... typeVar)
default boolean
IPropertyInfo. isReadable(IType whosAskin)
abstract boolean
ITypeRef. isTypeRefreshedOutsideOfLock(IType type)
boolean
IPropertyInfo. isWritable(IType whosAskin)
boolean
PropertyInfoBuilder.BuiltPropertyInfo. isWritable(IType whosAskin)
boolean
PropertyInfoDelegate. isWritable(IType whosAskin)
ConstructorInfoBuilder
ConstructorInfoBuilder. like(IType type, IType... params)
MethodInfoBuilder
MethodInfoBuilder. like(IType type, String method, IType... params)
IPropertyInfo
IPropertyInfoFactory. make(IFeatureInfo container, String strName, Class javaClass, String strGetter, String strSetter, IType propertyType)
IPropertyInfo
IPropertyInfoFactory. make(IFeatureInfo container, String strName, Class javaClass, String strGetter, String strSetter, IType propertyType, IPresentationInfo presInfo)
TypeVarToTypeMap
ITypeSystem. mapTypeByVarName(IType ownersType, IType declaringType)
static TypeVarToTypeMap
TypeSystem. mapTypeByVarName(IType ownersType, IType declaringType)
static IType
MethodList. maybeInferParamType(TypeVarToTypeMap inferenceMap, IType ownersType, IType fromParamType, IType toParamType)
static IType
MethodList. maybeInferReturnType(TypeVarToTypeMap inferenceMap, IType ownersType, IType fromReturnType, IType toReturnType)
protected void
FeatureManager. mergeMethods(MethodList methods, IType type, boolean replace)
protected void
FeatureManager. mergeProperties(PropertyNameMap<T> props, IType type, boolean replace)
static IMethodInfo
ITypeInfo.FIND. method(MethodList methodList, CharSequence method, IType... params)
IType
FunctionType. newInstance(IType[] paramTypes, IType returnType)
IType
IFunctionType. newInstance(IType[] paramTypes, IType returnType)
IType
ParameterizedFunctionType. newInstance(IType[] paramTypes, IType returnType)
void
ITypeSystem. pushCompilingType(IType type)
static void
TypeSystem. pushCompilingType(IType type)
IType
ITypeSystem. replaceTypeVariableTypeParametersWithBoundingTypes(IType iType, IType type)
static IType
TypeSystem. replaceTypeVariableTypeParametersWithBoundingTypes(IType type, IType enclosingType)
MethodScore
MethodScorer. scoreMethod(IType callsiteEnclosingType, IType rootType, IInvocableType funcType, List<? extends IInvocableType> listFunctionTypes, List<IType> argTypes, List<IType> inferringTypes, boolean bSkipScoring, boolean bLookInCache)
void
FunctionType. setArgumentTypes(IType[] paramTypes)
void
FunctionType. setEnclosingType(IType gosuClass)
void
FunctionType. setRetType(IType retType)
static void
ReflectUtil. setStaticProperty(IType type, String propertyName, Object value)
void
FeatureManager. setSupertypeToCopyPropertiesFrom(IType supertypeToCopyPropertiesFrom)
boolean
IEntityAccess. shouldAddWarning(IType type, IParseIssue warning)
boolean
IEntityAccess. verifyValueForType(IType type, Object value)
MethodInfoBuilder
MethodInfoBuilder. withReturnType(IType returnType)
ExceptionInfoBuilder
ExceptionInfoBuilder. withType(IType type)
ParameterInfoBuilder
ParameterInfoBuilder. withType(IType type)
PropertyInfoBuilder
PropertyInfoBuilder. withType(IType type)
Method parameters in gw.lang.reflect with type arguments of type IType Modifier and Type Method Description double
MethodScorer. _addToScoreForTypes(List<IType> inferringTypes, IType paramType, IType argType)
double
MethodScorer. addDegreesOfSeparation(IType parameterType, IType exprType, List<IType> inferringTypes)
double
MethodScorer. addDegreesOfSeparation(IType parameterType, Set<? extends IType> types, List<IType> inferringTypes)
double
MethodScorer. addDegreesOfSeparation(IType parameterType, Set<? extends IType> types, List<IType> inferringTypes)
double
MethodScorer. addToScoreForTypes(List<IType> inferringTypes, IType paramType, IType argType)
IType
ITypeSystem. boundTypes(IType parameterType, List<IType> inferringTypes)
static IType
TypeSystem. boundTypes(IType targetType, List<IType> typesToBound)
protected Set<IType>
TypeBase. getArrayVersionsOfEachType(Set<? extends IType> componentTypes)
IInvocableType
MethodScorer. getCachedMethodScore(IInvocableType funcType, IType callsiteEnclosingType, IType rootType, List<IType> argTypes)
IType
ITypeSystem. getCompoundType(Set<IType> types)
static IType
TypeSystem. getCompoundType(Set<IType> types)
double
MethodScorer. scoreMethod(IInvocableType funcType, List<IType> argTypes, List<IType> inferringTypes)
Constructors in gw.lang.reflect with parameters of type IType Constructor Description BaseFeatureInfo(IType intrType)
BaseTypeInfo(IType type)
DefaultArrayType(IType componentType, IJavaClassInfo componentConcreteClass, ITypeLoader typeLoader)
DefaultNonLoadableArrayType(IType componentType, IJavaClassInfo componentConcreteClass, ITypeLoader typeLoader)
FeatureManagerTypeInfoBase(IType ownersType)
FunctionArrayType(IType componentType, IJavaClassInfo componentConcreteClass, ITypeLoader typeLoader)
FunctionType(FunctionType source, IType gsClass)
FunctionType(FunctionType source, IType returnType, IType[] paramTypes)
FunctionType(String strFunctionName, IType retType, IType[] paramTypes)
Construct a FunctionType with the specified return type and parameter types array.FunctionType(String strFunctionName, IType retType, IType[] paramTypes, IGenericTypeVariable[] typeVars)
Construct a generic FunctionType with the specified return type, parameter types, and generic type variables.LazyType(IType entryType)
MethodScore(IRelativeTypeInfo.Accessibility acc, IType receiverType)
MethodScore(IType receiverType, IType callsiteEnclosingType)
ModifiedParameterInfo(IFeatureInfo container, IType type, IType originalType, int parentIndex)
NoReferenceFoundException(IType type)
NotLazyTypeResolver(IType type)
ParameterizedFunctionType(FunctionType genericType, IType... typeParams)
SimpleParameterInfo(IFeatureInfo container, IType type, int parentIndex)
SimpleParameterInfo(IFeatureInfo container, IType type, int parentIndex, String name)
Constructor parameters in gw.lang.reflect with type arguments of type IType Constructor Description MethodScoreKey(List<IType> argTypes, MethodScore score)
-
Uses of IType in gw.lang.reflect.features
Methods in gw.lang.reflect.features that return IType Modifier and Type Method Description IType
BoundMethodReference. getRootType()
IType
BoundPropertyChainReference. getRootType()
IType
BoundPropertyReference. getRootType()
IType
ConstructorReference. getRootType()
IType
IFeatureReference. getRootType()
IType
MethodReference. getRootType()
IType
PropertyChainReference. getRootType()
IType
PropertyReference. getRootType()
Methods in gw.lang.reflect.features that return types with arguments of type IType Modifier and Type Method Description List<IType>
BoundMethodReference. getFullArgTypes()
protected List<IType>
BoundPropertyChainReference. getFullArgTypes()
protected List<IType>
BoundPropertyReference. getFullArgTypes()
List<IType>
ConstructorReference. getFullArgTypes()
protected abstract List<IType>
FeatureReference. getFullArgTypes()
List<IType>
MethodReference. getFullArgTypes()
protected List<IType>
PropertyChainReference. getFullArgTypes()
List<IType>
PropertyReference. getFullArgTypes()
Constructors in gw.lang.reflect.features with parameters of type IType Constructor Description BoundMethodReference(IType rootType, Object ctx, String funcName, IType[] params, Object[] boundValues)
BoundPropertyChainReference(IType rootType, FeatureReference root, String property)
BoundPropertyReference(IType rootType, Object ctx, String property)
ConstructorReference(IType rootType, IType[] params, Object[] boundValues)
MethodReference(IType rootType, String funcName, IType[] params, Object[] boundValues)
PropertyChainReference(IType rootType, FeatureReference root, String property)
PropertyReference(IType rootType, String property)
-
Uses of IType in gw.lang.reflect.gs
Subinterfaces of IType in gw.lang.reflect.gs Modifier and Type Interface Description interface
ICompilableType
interface
IGosuArrayClass
interface
IGosuClass
interface
IGosuEnhancement
interface
IGosuFragment
interface
IGosuProgram
interface
IPropertiesType
interface
ITemplateType
Methods in gw.lang.reflect.gs that return IType Modifier and Type Method Description IType
IGosuVarPropertyInfo. assignActualType(IType type)
IType
IGosuClass. findProxiedClassInHierarchy()
IType
IGenericTypeVariable. getBoundingType()
IType
IGosuPropertyInfo. getContainingType()
IType
IGosuProgram. getContextType()
IType
IGosuClass. getEnclosingTypeReference()
IType
IGosuEnhancement. getEnhancedType()
IType
IGosuProgram. getExpectedReturnType()
IType
FragmentInstance. getIntrinsicType()
default IType
IGosuObject. getIntrinsicType()
static IType
IGosuClass.ProxyUtil. getProxiedType(IType type)
IType
IGosuProgram. getReturnType()
IType
IGosuVarPropertyInfo. getScopedSymbolType()
Methods in gw.lang.reflect.gs that return types with arguments of type IType Modifier and Type Method Description List<? extends IType>
IGosuClass. getSubtypes()
WARNING: This method is slow the first time it is called.Methods in gw.lang.reflect.gs with parameters of type IType Modifier and Type Method Description void
IEnhancementIndex. addEnhancementMethods(IType typeToEnhance, Collection<IMethodInfo> methodsToAddTo)
void
IEnhancementIndex. addEnhancementProperties(IType typeToEnhance, Map<CharSequence,IPropertyInfo> propertyInfosToAddTo, boolean caseSensitive)
void
IEnhancementIndex. addEntry(IType enhancedType, IGosuEnhancement enhancement)
IType
IGosuVarPropertyInfo. assignActualType(IType type)
void
IGosuVarPropertyInfo. assignSymbolType(IType type)
void
IGenericTypeVariable. createTypeVariableDefinition(IType enclosingType)
List<? extends IGosuEnhancement>
IEnhancementIndex. getEnhancementsForType(IType gosuClass)
static String
IGosuClass.ProxyUtil. getNameSansProxy(IType type)
static IProgramInstance
IGosuProgram.Runner. getProgramInstance(String strProgram, ISymbolTable symTable, IType expectedType)
static IType
IGosuClass.ProxyUtil. getProxiedType(IType type)
static boolean
IGosuClass.ProxyUtil. isProxy(IType type)
boolean
IGosuClass. isSubClass(IType gsSubType)
static Object
IGosuProgram.Runner. runProgram(String strProgram, ISymbolTable symTable, IType expectedType)
void
IGosuClass. setEnclosingType(IType enclosingType)
Only for use during type loading e.g., from GosuClassTypeLoaderConstructors in gw.lang.reflect.gs with parameters of type IType Constructor Description TypeName(IType innerType)
-
Uses of IType in gw.lang.reflect.java
Subinterfaces of IType in gw.lang.reflect.java Modifier and Type Interface Description interface
IJavaArrayType
interface
IJavaBackedType
interface
IJavaType
Fields in gw.lang.reflect.java with type parameters of type IType Modifier and Type Field Description static Map<String,IType>
GosuTypes. CACHE
Methods in gw.lang.reflect.java that return IType Modifier and Type Method Description static IType
GosuTypes. AUTOCREATE()
static IType
GosuTypes. BINDER_SEPARATORS()
static IType
GosuTypes. DYNAMIC()
static IType
JavaTypes. FRAGMENT_INSTANCE()
static IType
JavaTypes. FUNCTION_TYPE()
static IType
ClassInfoUtil. getActualReturnType(IJavaClassType genericType, TypeVarToTypeMap actualParamByVarName, boolean bKeepTypeVars)
IType
ErrorJavaClassInfo. getActualType(TypeVarToTypeMap typeMap)
IType
ErrorJavaClassInfo. getActualType(TypeVarToTypeMap typeMap, boolean bKeepTypeVars)
IType
IJavaClassType. getActualType(TypeVarToTypeMap typeMap)
IType
IJavaClassType. getActualType(TypeVarToTypeMap typeMap, boolean bKeepTypeVars)
static IType[]
ClassInfoUtil. getActualTypes(IJavaClassType[] genericTypes, TypeVarToTypeMap actualParamByVarName, boolean bKeepTypeVars)
IType
ErrorJavaClassInfo. getEnclosingType()
IType
IJavaClassInfo. getEnclosingType()
IType
JavaExceptionInfo. getExceptionType()
IType
IJavaParameterDescriptor. getFeatureType()
IType
ErrorJavaClassInfo. getJavaType()
IType
IJavaClassInfo. getJavaType()
IType
JavaExceptionInfo. getOwnersType()
IType
IJavaPropertyDescriptor. getPropertyType()
static IType
ClassInfoUtil. getPublishedType(IType type, IJavaClassInfo classInfo)
IType
IJavaClassMethod. getReturnType()
static IType
GosuTypes. getType(String fqn)
IType
IJavaBackedType. getTypeFromJavaBackedType()
static IType
JavaTypes. GW_LANG_DEPRECATED()
static IType
JavaTypes. IBLOCK()
static IType
GosuTypes. IDISPOSABLE()
static IType
JavaTypes. IEXTERNAL_SYMBOL_MAP()
static IType
JavaTypes. IFEATURE_REFERENCE()
static IType
JavaTypes. IMETHOD_REFERENCE()
static IType
GosuTypes. IMONITORLOCK()
static IType
GosuTypes. IPOSTFIX_BINDER()
static IType
GosuTypes. IPREFIX_BINDER()
static IType
JavaTypes. IQUERY_RESULT_SET()
static IType
JavaTypes. PARAM()
static IType
JavaTypes. PARAMS()
static IType
JavaTypes. RUNNABLE()
static IType
JavaTypes. THROWS()
static IType
JavaTypes. VOID()
Methods in gw.lang.reflect.java with parameters of type IType Modifier and Type Method Description static IType
ClassInfoUtil. getPublishedType(IType type, IJavaClassInfo classInfo)
-
Uses of IType in gw.test
Methods in gw.test that return IType Modifier and Type Method Description IType
TestClassWrapper. getBackingType()
IType
TestSpec. getTestType()
IType
TestClass. getType()
Methods in gw.test with parameters of type IType Modifier and Type Method Description static TestClass
TestClass. createTestClass(IType testType)
static String[]
TestSpec. extractTestMethods(IType testType)
T
Suite. withTest(IType type, String... methods)
Adds a test to this Suite.Method parameters in gw.test with type arguments of type IType Modifier and Type Method Description T
Suite. withTestTypeFilter(Predicate<IType> filter)
Adds a type filter to this suite, allowing certain tests to be excluded.Constructors in gw.test with parameters of type IType Constructor Description TestClassWrapper(TestExecutionManager executionManager, IType type, String... methods)
-
Uses of IType in gw.util
Methods in gw.util that return types with arguments of type IType Modifier and Type Method Description static Map<IType,List<IAnnotationInfo>>
AnnotationUtil. map(List<IAnnotationInfo> annotations)
Methods in gw.util with parameters of type IType Modifier and Type Method Description boolean
IFeatureFilter. acceptFeature(IType beanType, IFeatureInfo fi)
static IExpression
GosuTestUtil. compileExpression(String script, String varName, IType varType)
static IExpression
GosuTestUtil. compileExpression(String script, String varName, IType varType, String varName2, IType varType2)
static ParseResultsException
GosuClassTestUtil. declCompileAndGetClassErrors(IType type)
static ParseResultsException
GosuClassTestUtil. defnCompileAndGetClassErrors(IType type)
-