Package gw.internal.gosu.parser
Class GosuEnhancement
java.lang.Object
gw.lang.reflect.AbstractType
gw.lang.reflect.InnerClassCapableType
gw.internal.gosu.parser.GosuClass
gw.internal.gosu.parser.GosuEnhancement
- All Implemented Interfaces:
ICompilableTypeInternal,IGosuClassInternal,IGosuEnhancementInternal,IParameterizableType,IFileRepositoryBasedType,IHasInnerClass,ICompilableType,IGosuClass,IGosuEnhancement,ICanBeAnnotation,IEnhanceableType,IEnumData,IEnumType,IHasJavaClass,IType,Serializable,Comparable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface gw.lang.reflect.gs.IGosuClass
IGosuClass.ProxyUtilNested classes/interfaces inherited from interface gw.internal.gosu.parser.IGosuClassInternal
IGosuClassInternal.Util -
Field Summary
FieldsFields inherited from class gw.internal.gosu.parser.GosuClass
_parseInfoFields inherited from interface gw.lang.reflect.gs.IGosuClass
ANONYMOUS_PREFIX, PROXY_PREFIX, SUPER_PROXY_CLASS_PREFIXFields inherited from interface gw.lang.reflect.IType
EMPTY_ARRAY, EMPTY_TYPE_ARRAY, EMPTY_TYPE_LIST -
Constructor Summary
ConstructorsConstructorDescriptionGosuEnhancement(IGosuEnhancementInternal gosuEnhancement, IType[] paramTypes) GosuEnhancement(String strNamespace, String strRelativeName, GosuClassTypeLoader classTypeLoader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap) -
Method Summary
Modifier and TypeMethodDescriptiongetParameterizedType(IType... paramTypes) Assuming this intrinsic type is a Generic type, return the parameterized type associated with the given list of type parameters.Returns the type representing the supertype of this type.protected IGosuEnhancementInternalvoidsetEnhancedType(IType enhancedType) voidMethods inherited from class gw.internal.gosu.parser.GosuClass
addBlock, addCapturedSymbol, addDelegateImpls, addInnerClass, addInterface, assignTypeUsesMap, assignTypeVarsFromTypeParams, compareTo, compile, compileDeclarationsIfNeeded, compileDefinitionsIfNeeded, compileDefinitionsIfNeeded, compileHeaderIfNeeded, copyGenericState, copyHierarchyInfo, createNewParseInfo, dontEverCallThis, ensureDefaultConstructor, findProxiedClassInHierarchy, forceTypeInfoInitialization, getAllTypesInHierarchy, getAnonymousInnerClassCount, getArrayComponent, getArrayLength, getArrayType, getBackingClass, getBlock, getBlockCount, getBlocks, getCapturedSymbol, getCapturedSymbols, getClassStatement, getClassStatementWithoutCompile, getCompilationState, getComponentType, getCompoundTypeComponents, getConstructorFunction, getConstructorFunctions, getConstructorStatement, getDefaultConstructor, getDepth, getDisplayName, getEnclosingNonBlockType, getEnclosingType, getEnclosingTypeReference, getEnumConstants, getEnumValue, getEnumValues, getExternalSymbol, getFullDescription, getFunctionalInterface, getFunctionStatement, getGenericType, getGenericTypeVariables, getGosuAnnotations, getId, getInnerClass, getInnerClasses, getInnerClassesMap, getInterfaces, getJavaType, getKnownInnerClassesWithoutCompiling, getLoadedInnerClasses, getLoaderParameterizedTypes, getMemberField, getMemberFieldIndexByName, getMemberFields, getMemberFieldsMap, getMemberFunction, getMemberFunction, getMemberFunctions, getMemberFunctions, getMemberProperties, getMemberProperty, getModifierInfo, getModifiers, getName, getNamespace, getOrCreateParser, getOrCreateTypeReference, getOrCreateTypeReference, getParameterizedTypes, getParseInfo, getParser, getParseResultsException, getPropertyDeclaration, getRelativeName, getSource, getSourceFileHandle, getSourceFiles, getStaticField, getStaticFields, getStaticFunctions, getStaticProperties, getStaticProperty, getStaticThisSymbol, getSubtypes, getSuperClass, getTypeInfo, getTypeInfoChecksum, getTypeLoader, getTypeParameters, getTypeUsesMap, getTypeVarDefs, getUnimplementedMethods, getUnimplementedMethods, getUnimplementedMethods, hasAncestorBeenUpdated, hasAssertions, hasBackingClass, hasError, hasWarnings, isAbstract, isAccessible, isAnnotation, isAnonymous, isArray, isAssignableFrom, isCannotCaptureSymbols, isCompilable, isCompiled, isCompilingDeclarations, isCompilingDefinitions, isCompilingHeader, isCompoundType, isCreateEditorParser, isDeclarationsBypassed, isDeclarationsCompiled, isDefinitionsCompiled, isDiscarded, isEnum, isFinal, isGenericType, isHeaderCompiled, isInnerDeclarationsCompiled, isInterface, isMutable, isObjectMethod, isParameterizedType, isPrimitive, isProxy, isStale, isStatic, isStrictGenerics, isStructure, isSubClass, isTestClass, isValid, makeArrayInstance, markStatic, putClassMembers, putClassMembers, putClassMembers, readResolve, removeBlock, removeInnerClass, resolveRelativeInnerClass, setAnnotations, setArrayComponent, setCannotCaptureSymbols, setCompilingDeclarations, setCompilingDefinitions, setCompilingHeader, setCreateEditorParser, setDeclarationsBypassed, setDeclarationsCompiled, setDefinitionsCompiled, setDiscarded, setEditorParser, setEnclosingType, setEnum, setFullDescription, setGenericTypeVariables, setHasAssertions, setHeaderCompiled, setInnerDeclarationsCompiled, setInterface, setJavaType, setModifierInfo, setNamespace, setParseResultsException, setStructure, setSuperType, setTypeUsesMap, shouldFullyCompileAnnotations, shouldKeepDebugInfo, shouldResolve, syncGenericAndParameterizedClasses, toString, unloadBackingClass, unloadTypeInfoMethods inherited from class gw.lang.reflect.AbstractType
getLiteralMetaType, getMetaType, getTheRefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface gw.lang.reflect.ICanBeAnnotation
isAnnotationMethods inherited from interface gw.lang.reflect.gs.ICompilableType
getBlock, getClassStatement, getExternalSymbol, getParser, getTypeUsesMap, isAnonymous, isStaticMethods inherited from interface gw.internal.gosu.parser.ICompilableTypeInternal
getAnonymousInnerClassCount, getEnclosingType, getMemberFields, getSource, hasAssertions, shouldFullyCompileAnnotationsMethods inherited from interface gw.lang.reflect.IEnumData
getEnumConstants, getEnumValue, getEnumValuesMethods inherited from interface gw.lang.parser.IFileRepositoryBasedType
getJavaName, getSourceFileHandleMethods inherited from interface gw.lang.reflect.gs.IGosuClass
findProxiedClassInHierarchy, getClassStatementWithoutCompile, getCompilationState, getConstructorStatement, getEnclosingTypeReference, getFunctionStatement, getInnerClass, getInnerClasses, getInnerClassesMap, getJavaType, getKnownInnerClassesWithoutCompiling, getMemberFields, getMemberFieldsMap, getMemberFunctions, getModifierInfo, getParseResultsException, getPropertyDeclaration, getSource, getSubtypes, getTypeInfo, hasBackingClass, hasError, hasWarnings, isCompiled, isCompilingDeclarations, isCompilingDefinitions, isCompilingHeader, isDeclarationsBypassed, isDeclarationsCompiled, isDefinitionsCompiled, isHeaderCompiled, isInnerDeclarationsCompiled, isStructure, isSubClass, isTestClass, setCreateEditorParser, setEnclosingType, setNamespace, shouldKeepDebugInfo, unloadBackingClassMethods inherited from interface gw.internal.gosu.parser.IGosuClassInternal
addBlock, addCapturedSymbol, addDelegateImpls, addInnerClass, addInterface, assignTypeUsesMap, compileDeclarationsIfNeeded, compileDefinitionsIfNeeded, compileDefinitionsIfNeeded, compileHeaderIfNeeded, copyGenericState, copyHierarchyInfo, createNewParseInfo, dontEverCallThis, ensureDefaultConstructor, forceTypeInfoInitialization, getBlockCount, getBlocks, getCapturedSymbol, getCapturedSymbols, getConstructorFunction, getConstructorFunctions, getDefaultConstructor, getDepth, getEnclosingNonBlockType, getFullDescription, getGosuAnnotations, getMemberField, getMemberFieldIndexByName, getMemberFunction, getMemberFunction, getMemberFunctions, getMemberProperties, getMemberProperty, getParameterizedTypes, getParseInfo, getStaticField, getStaticFields, getStaticFunctions, getStaticProperties, getStaticProperty, getStaticThisSymbol, getSuperClass, getTypeInfoChecksum, getTypeLoader, getUnimplementedMethods, getUnimplementedMethods, isAccessible, isCannotCaptureSymbols, isCreateEditorParser, isProxy, isStale, markStatic, putClassMembers, putClassMembers, putClassMembers, removeBlock, removeInnerClass, setAnnotations, setCannotCaptureSymbols, setCompilingDeclarations, setCompilingDefinitions, setCompilingHeader, setDeclarationsBypassed, setDeclarationsCompiled, setDefinitionsCompiled, setEditorParser, setEnum, setFullDescription, setGenericTypeVariables, setHasAssertions, setHeaderCompiled, setInnerDeclarationsCompiled, setInterface, setJavaType, setModifierInfo, setParseResultsException, setStructure, setSuperType, setTypeUsesMap, shouldResolve, syncGenericAndParameterizedClassesMethods inherited from interface gw.lang.parser.IHasInnerClass
getLoadedInnerClasses, resolveRelativeInnerClassMethods inherited from interface gw.lang.reflect.IHasJavaClass
getBackingClassMethods inherited from interface gw.internal.gosu.parser.IParameterizableType
getLoaderParameterizedTypes, isStrictGenericsMethods inherited from interface gw.lang.reflect.IType
compile, getAllTypesInHierarchy, getArrayComponent, getArrayLength, getArrayType, getComponentType, getCompoundTypeComponents, getDisplayName, getFunctionalInterface, getGenericType, getGenericTypeVariables, getInterfaces, getLiteralMetaType, getMetaType, getModifiers, getName, getNamespace, getRelativeName, getSourceFiles, getTypeParameters, isAbstract, isArray, isAssignableFrom, isCompilable, isCompoundType, isDiscarded, isDynamic, isEnum, isFinal, isGenericType, isInterface, isMutable, isParameterizedType, isPrimitive, isValid, makeArrayInstance, readResolve, setArrayComponent, setDiscarded, unloadTypeInfo
-
Field Details
-
_enhancedType
-
-
Constructor Details
-
GosuEnhancement
public GosuEnhancement(String strNamespace, String strRelativeName, GosuClassTypeLoader classTypeLoader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap) -
GosuEnhancement
-
-
Method Details
-
getParameterizedType
Description copied from interface:ITypeAssuming this intrinsic type is a Generic type, return the parameterized type associated with the given list of type parameters. If the type has not been created yet, creates the parameterized type. Successive calls to this method having identical parameter types must return the identical parameterized type.- Specified by:
getParameterizedTypein interfaceIType- Overrides:
getParameterizedTypein classGosuClass- Parameters:
paramTypes- The type parameters.- Returns:
- The concrete type associated with the type parameters.
-
makeCopy
-
getSupertype
Description copied from interface:ITypeReturns the type representing the supertype of this type. Returns null if this type has no supertype.- Specified by:
getSupertypein interfaceIType- Overrides:
getSupertypein classGosuClass
-
getEnhancedType
- Specified by:
getEnhancedTypein interfaceIGosuEnhancement
-
setEnhancedType
- Specified by:
setEnhancedTypein interfaceIGosuEnhancementInternal
-
setFoundCorrectHeader
public void setFoundCorrectHeader()- Specified by:
setFoundCorrectHeaderin interfaceIGosuEnhancementInternal
-
getClassType
- Specified by:
getClassTypein interfaceIFileRepositoryBasedType- Overrides:
getClassTypein classGosuClass
-