Package gw.internal.gosu.parser
Interface IGosuClassInternal
- All Superinterfaces:
Comparable,ICanBeAnnotation,ICompilableType,ICompilableTypeInternal,IEnhanceableType,IEnumData,IEnumType,IFileRepositoryBasedType,IGosuClass,IHasInnerClass,IHasJavaClass,IParameterizableType,IType,Serializable
- All Known Subinterfaces:
IGosuEnhancementInternal,IGosuProgramInternal,IGosuTemplateInternal
- All Known Implementing Classes:
BlockClass,GosuClass,GosuClassFragment,GosuEnhancement,GosuProgram,GosuTemplateType,SyntheticClass
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface gw.lang.reflect.gs.IGosuClass
IGosuClass.ProxyUtil -
Field Summary
Fields 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBlock(IBlockClass block) voidvoidaddDelegateImpls(ISymbolTable symTable, GosuClassParser parser) voidaddInnerClass(IGosuClassInternal innerGsClass) voidaddInterface(IType type) voidassignTypeUsesMap(GosuParser parser) voidvoidvoidcompileDefinitionsIfNeeded(boolean bForce) voidvoidcopyGenericState(boolean bCopyHierarchy) voidWhen changing the places from which this method is called run pc's gw.smoketest.pc.job.common.effectivetime.VisibleEffectiveTimeTest cause it will break!booleanensureDefaultConstructor(ISymbolTable symbolTable, GosuParser parser) voidintgetCapturedSymbol(String strName) getConstructorFunction(String name) intgetDepth()List<? extends IGosuAnnotation>getMemberField(String charSequence) getMemberFunction(IFunctionType funcType, boolean bContravariant) getMemberFunction(IFunctionType ifaceFuncType, String name, boolean bContravariant) getMemberFunctions(String names) getMemberProperty(String name) getStaticField(String name) getStaticProperty(String name) intReturns the type loader responsible for loading this intrinsic type.getUnimplementedMethods(List<IFunctionType> unimpled, IGosuClassInternal implClass, boolean bAcceptAbstract) booleanisAccessible(IGosuClassInternal compilingClass, AbstractDynamicSymbol ads) booleanbooleanbooleanisProxy()booleanisStale()voidvoidputClassMembers(GosuParser owner, ISymbolTable table, IGosuClassInternal gsContextClass, boolean bStatic) voidputClassMembers(GosuClassTypeLoader loader, GosuParser owner, ISymbolTable table, IGosuClassInternal gsContextClass, boolean bStatic) voidputClassMembers(GosuClassTypeLoader loader, GosuParser owner, ISymbolTable table, IGosuClassInternal gsContextClass, boolean bStatic, boolean bStaticImport) voidremoveBlock(IBlockClass block) voidremoveInnerClass(IGosuClassInternal innerGsClass) voidsetAnnotations(List<IGosuAnnotation> annotations) voidsetCannotCaptureSymbols(boolean val) voidsetCompilingDeclarations(boolean bCompilingDeclarations) voidsetCompilingDefinitions(boolean bCompilingDefinitions) voidsetCompilingHeader(boolean bCompilingHeader) voidvoidvoidvoidsetEditorParser(GosuParser parser) voidsetEnum()voidsetFullDescription(String description) voidsetGenericTypeVariables(List<ITypeVariableDefinition> typeVarLiteralList) voidsetHasAssertions(boolean bHasAssertions) voidvoidvoidsetInterface(boolean bInterface) voidsetJavaType(IJavaType javaType) voidsetModifierInfo(ModifierInfo modifierInfo) voidvoidsetStructure(boolean bStructure) voidsetSuperType(IType superType) voidsetTypeUsesMap(ITypeUsesMap usesMap) booleanvoidMethods 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
getClassType, 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.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, getParameterizedType, getRelativeName, getSourceFiles, getSupertype, getTypeParameters, isAbstract, isArray, isAssignableFrom, isCompilable, isCompoundType, isDiscarded, isDynamic, isEnum, isFinal, isGenericType, isInterface, isMutable, isParameterizedType, isPrimitive, isValid, makeArrayInstance, readResolve, setArrayComponent, setDiscarded, unloadTypeInfo
-
Method Details
-
copyGenericState
void copyGenericState(boolean bCopyHierarchy) -
copyHierarchyInfo
void copyHierarchyInfo() -
assignTypeUsesMap
- Specified by:
assignTypeUsesMapin interfaceICompilableTypeInternal
-
getUnimplementedMethods
List<IFunctionType> getUnimplementedMethods(List<IFunctionType> unimpled, IGosuClassInternal implClass, boolean bAcceptAbstract) -
setJavaType
-
forceTypeInfoInitialization
void forceTypeInfoInitialization() -
getDepth
int getDepth()- Specified by:
getDepthin interfaceICompilableTypeInternal
-
getTypeInfoChecksum
int getTypeInfoChecksum() -
getParameterizedTypes
Collection<IGosuClassInternal> getParameterizedTypes() -
setAnnotations
-
getEnclosingNonBlockType
IType getEnclosingNonBlockType()- Specified by:
getEnclosingNonBlockTypein interfaceICompilableTypeInternal
-
getGosuAnnotations
List<? extends IGosuAnnotation> getGosuAnnotations()- Specified by:
getGosuAnnotationsin interfaceICompilableTypeInternal
-
createNewParseInfo
GosuClassParseInfo createNewParseInfo()When changing the places from which this method is called run pc's gw.smoketest.pc.job.common.effectivetime.VisibleEffectiveTimeTest cause it will break! -
getParseInfo
GosuClassParseInfo getParseInfo()- Specified by:
getParseInfoin interfaceICompilableTypeInternal
-
setGenericTypeVariables
-
setModifierInfo
-
setInterface
void setInterface(boolean bInterface) -
setStructure
void setStructure(boolean bStructure) -
setEnum
void setEnum() -
addInterface
-
markStatic
void markStatic() -
isProxy
boolean isProxy() -
getConstructorFunctions
List<DynamicFunctionSymbol> getConstructorFunctions() -
getConstructorFunction
-
getDefaultConstructor
DynamicFunctionSymbol getDefaultConstructor() -
getStaticFunctions
List<DynamicFunctionSymbol> getStaticFunctions() -
getMemberFunctions
- Specified by:
getMemberFunctionsin interfaceICompilableTypeInternal
-
getMemberFunction
-
addInnerClass
-
removeInnerClass
-
getMemberFunction
DynamicFunctionSymbol getMemberFunction(IFunctionType ifaceFuncType, String name, boolean bContravariant) -
getStaticProperty
- Specified by:
getStaticPropertyin interfaceICompilableTypeInternal
-
getStaticProperties
List<DynamicPropertySymbol> getStaticProperties() -
getMemberProperties
List<DynamicPropertySymbol> getMemberProperties() -
getMemberProperty
- Specified by:
getMemberPropertyin interfaceICompilableTypeInternal- Specified by:
getMemberPropertyin interfaceIGosuClass
-
getStaticFields
List<IVarStatement> getStaticFields()- Specified by:
getStaticFieldsin interfaceICompilableTypeInternal
-
getStaticField
-
getMemberFieldIndexByName
Map<CharSequence,ISymbol> getMemberFieldIndexByName() -
getStaticThisSymbol
Symbol getStaticThisSymbol() -
getCapturedSymbols
Map<String,ICapturedSymbol> getCapturedSymbols()- Specified by:
getCapturedSymbolsin interfaceICompilableTypeInternal
-
getCapturedSymbol
- Specified by:
getCapturedSymbolin interfaceICompilableTypeInternal
-
addCapturedSymbol
- Specified by:
addCapturedSymbolin interfaceICompilableTypeInternal
-
ensureDefaultConstructor
-
setSuperType
-
compileDefinitionsIfNeeded
void compileDefinitionsIfNeeded() -
compileDefinitionsIfNeeded
void compileDefinitionsIfNeeded(boolean bForce) - Specified by:
compileDefinitionsIfNeededin interfaceICompilableTypeInternal
-
compileDeclarationsIfNeeded
void compileDeclarationsIfNeeded()- Specified by:
compileDeclarationsIfNeededin interfaceICompilableTypeInternal
-
compileHeaderIfNeeded
void compileHeaderIfNeeded()- Specified by:
compileHeaderIfNeededin interfaceICompilableTypeInternal
-
setCompilingHeader
void setCompilingHeader(boolean bCompilingHeader) -
setHeaderCompiled
void setHeaderCompiled() -
setCompilingDeclarations
void setCompilingDeclarations(boolean bCompilingDeclarations) -
setDeclarationsCompiled
void setDeclarationsCompiled() -
setDeclarationsBypassed
void setDeclarationsBypassed() -
setInnerDeclarationsCompiled
void setInnerDeclarationsCompiled() -
setCompilingDefinitions
void setCompilingDefinitions(boolean bCompilingDefinitions) -
setDefinitionsCompiled
void setDefinitionsCompiled() -
getMemberField
- Specified by:
getMemberFieldin interfaceICompilableTypeInternal
-
getSuperClass
IGosuClassInternal getSuperClass() -
putClassMembers
void putClassMembers(GosuParser owner, ISymbolTable table, IGosuClassInternal gsContextClass, boolean bStatic) - Specified by:
putClassMembersin interfaceICompilableTypeInternal
-
putClassMembers
void putClassMembers(GosuClassTypeLoader loader, GosuParser owner, ISymbolTable table, IGosuClassInternal gsContextClass, boolean bStatic) - Specified by:
putClassMembersin interfaceICompilableTypeInternal
-
putClassMembers
void putClassMembers(GosuClassTypeLoader loader, GosuParser owner, ISymbolTable table, IGosuClassInternal gsContextClass, boolean bStatic, boolean bStaticImport) -
isAccessible
-
setParseResultsException
-
shouldResolve
boolean shouldResolve() -
setEditorParser
-
syncGenericAndParameterizedClasses
void syncGenericAndParameterizedClasses() -
addDelegateImpls
-
getUnimplementedMethods
List<IFunctionType> getUnimplementedMethods() -
setFullDescription
-
getFullDescription
String getFullDescription() -
dontEverCallThis
Object dontEverCallThis() -
isStale
boolean isStale()- Returns:
- True if this type is no longer current or has been unloaded.
-
isCannotCaptureSymbols
boolean isCannotCaptureSymbols() -
setCannotCaptureSymbols
void setCannotCaptureSymbols(boolean val) -
getBlocks
List<IGosuClass> getBlocks()- Specified by:
getBlocksin interfaceIGosuClass
-
getBlockCount
int getBlockCount()- Specified by:
getBlockCountin interfaceICompilableTypeInternal
-
addBlock
- Specified by:
addBlockin interfaceICompilableTypeInternal
-
removeBlock
- Specified by:
removeBlockin interfaceICompilableTypeInternal
-
getTypeLoader
GosuClassTypeLoader getTypeLoader()Description copied from interface:ITypeReturns the type loader responsible for loading this intrinsic type.- Specified by:
getTypeLoaderin interfaceICompilableType- Specified by:
getTypeLoaderin interfaceIType
-
isCreateEditorParser
boolean isCreateEditorParser()- Specified by:
isCreateEditorParserin interfaceICompilableTypeInternal
-
setTypeUsesMap
-
setHasAssertions
void setHasAssertions(boolean bHasAssertions)
-