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
public interface IGosuClassInternal extends IGosuClass, ICompilableTypeInternal
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IGosuClassInternal.Util
-
Nested 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_PREFIX
-
Fields inherited from interface gw.lang.reflect.IType
EMPTY_ARRAY, EMPTY_TYPE_ARRAY, EMPTY_TYPE_LIST
-
-
Method Summary
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface gw.lang.reflect.ICanBeAnnotation
isAnnotation
-
Methods inherited from interface gw.lang.reflect.gs.ICompilableType
getBlock, getClassStatement, getExternalSymbol, getParser, getTypeUsesMap, isAnonymous, isStatic
-
Methods inherited from interface gw.internal.gosu.parser.ICompilableTypeInternal
getAnonymousInnerClassCount, getEnclosingType, getMemberFields, getSource, hasAssertions, shouldFullyCompileAnnotations
-
Methods inherited from interface gw.lang.reflect.IEnumData
getEnumConstants, getEnumValue, getEnumValues
-
Methods inherited from interface gw.lang.parser.IFileRepositoryBasedType
getClassType, getJavaName, getSourceFileHandle
-
Methods 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, unloadBackingClass
-
Methods inherited from interface gw.lang.parser.IHasInnerClass
getLoadedInnerClasses, resolveRelativeInnerClass
-
Methods inherited from interface gw.lang.reflect.IHasJavaClass
getBackingClass
-
Methods inherited from interface gw.internal.gosu.parser.IParameterizableType
getLoaderParameterizedTypes, isStrictGenerics
-
Methods 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 Detail
-
copyGenericState
void copyGenericState(boolean bCopyHierarchy)
-
copyHierarchyInfo
void copyHierarchyInfo()
-
assignTypeUsesMap
void assignTypeUsesMap(GosuParser parser)
- Specified by:
assignTypeUsesMap
in interfaceICompilableTypeInternal
-
getUnimplementedMethods
List<IFunctionType> getUnimplementedMethods(List<IFunctionType> unimpled, IGosuClassInternal implClass, boolean bAcceptAbstract)
-
setJavaType
void setJavaType(IJavaType javaType)
-
forceTypeInfoInitialization
void forceTypeInfoInitialization()
-
getDepth
int getDepth()
- Specified by:
getDepth
in interfaceICompilableTypeInternal
-
getTypeInfoChecksum
int getTypeInfoChecksum()
-
getParameterizedTypes
Collection<IGosuClassInternal> getParameterizedTypes()
-
setAnnotations
void setAnnotations(List<IGosuAnnotation> annotations)
-
getEnclosingNonBlockType
IType getEnclosingNonBlockType()
- Specified by:
getEnclosingNonBlockType
in interfaceICompilableTypeInternal
-
getGosuAnnotations
List<? extends IGosuAnnotation> getGosuAnnotations()
- Specified by:
getGosuAnnotations
in 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:
getParseInfo
in interfaceICompilableTypeInternal
-
setGenericTypeVariables
void setGenericTypeVariables(List<ITypeVariableDefinition> typeVarLiteralList)
-
setModifierInfo
void setModifierInfo(ModifierInfo modifierInfo)
-
setInterface
void setInterface(boolean bInterface)
-
setStructure
void setStructure(boolean bStructure)
-
setEnum
void setEnum()
-
addInterface
void addInterface(IType type)
-
markStatic
void markStatic()
-
isProxy
boolean isProxy()
-
getConstructorFunctions
List<DynamicFunctionSymbol> getConstructorFunctions()
-
getConstructorFunction
DynamicFunctionSymbol getConstructorFunction(String name)
-
getDefaultConstructor
DynamicFunctionSymbol getDefaultConstructor()
-
getStaticFunctions
List<DynamicFunctionSymbol> getStaticFunctions()
-
getMemberFunctions
List<DynamicFunctionSymbol> getMemberFunctions(String names)
- Specified by:
getMemberFunctions
in interfaceICompilableTypeInternal
-
getMemberFunction
DynamicFunctionSymbol getMemberFunction(IFunctionType funcType, boolean bContravariant)
-
addInnerClass
void addInnerClass(IGosuClassInternal innerGsClass)
-
removeInnerClass
void removeInnerClass(IGosuClassInternal innerGsClass)
-
getMemberFunction
DynamicFunctionSymbol getMemberFunction(IFunctionType ifaceFuncType, String name, boolean bContravariant)
-
getStaticProperty
DynamicPropertySymbol getStaticProperty(String name)
- Specified by:
getStaticProperty
in interfaceICompilableTypeInternal
-
getStaticProperties
List<DynamicPropertySymbol> getStaticProperties()
-
getMemberProperties
List<DynamicPropertySymbol> getMemberProperties()
-
getMemberProperty
DynamicPropertySymbol getMemberProperty(String name)
- Specified by:
getMemberProperty
in interfaceICompilableTypeInternal
- Specified by:
getMemberProperty
in interfaceIGosuClass
-
getStaticFields
List<IVarStatement> getStaticFields()
- Specified by:
getStaticFields
in interfaceICompilableTypeInternal
-
getStaticField
VarStatement getStaticField(String name)
-
getMemberFieldIndexByName
Map<CharSequence,ISymbol> getMemberFieldIndexByName()
-
getStaticThisSymbol
Symbol getStaticThisSymbol()
-
getCapturedSymbols
Map<String,ICapturedSymbol> getCapturedSymbols()
- Specified by:
getCapturedSymbols
in interfaceICompilableTypeInternal
-
getCapturedSymbol
ICapturedSymbol getCapturedSymbol(String strName)
- Specified by:
getCapturedSymbol
in interfaceICompilableTypeInternal
-
addCapturedSymbol
void addCapturedSymbol(ICapturedSymbol sym)
- Specified by:
addCapturedSymbol
in interfaceICompilableTypeInternal
-
ensureDefaultConstructor
boolean ensureDefaultConstructor(ISymbolTable symbolTable, GosuParser parser)
-
setSuperType
void setSuperType(IType superType)
-
compileDefinitionsIfNeeded
void compileDefinitionsIfNeeded()
-
compileDefinitionsIfNeeded
void compileDefinitionsIfNeeded(boolean bForce)
- Specified by:
compileDefinitionsIfNeeded
in interfaceICompilableTypeInternal
-
compileDeclarationsIfNeeded
void compileDeclarationsIfNeeded()
- Specified by:
compileDeclarationsIfNeeded
in interfaceICompilableTypeInternal
-
compileHeaderIfNeeded
void compileHeaderIfNeeded()
- Specified by:
compileHeaderIfNeeded
in 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
VarStatement getMemberField(String charSequence)
- Specified by:
getMemberField
in interfaceICompilableTypeInternal
-
getSuperClass
IGosuClassInternal getSuperClass()
-
putClassMembers
void putClassMembers(GosuParser owner, ISymbolTable table, IGosuClassInternal gsContextClass, boolean bStatic)
- Specified by:
putClassMembers
in interfaceICompilableTypeInternal
-
putClassMembers
void putClassMembers(GosuClassTypeLoader loader, GosuParser owner, ISymbolTable table, IGosuClassInternal gsContextClass, boolean bStatic)
- Specified by:
putClassMembers
in interfaceICompilableTypeInternal
-
putClassMembers
void putClassMembers(GosuClassTypeLoader loader, GosuParser owner, ISymbolTable table, IGosuClassInternal gsContextClass, boolean bStatic, boolean bStaticImport)
-
isAccessible
boolean isAccessible(IGosuClassInternal compilingClass, AbstractDynamicSymbol ads)
-
setParseResultsException
void setParseResultsException(ParseResultsException pe)
-
shouldResolve
boolean shouldResolve()
-
setEditorParser
void setEditorParser(GosuParser parser)
-
syncGenericAndParameterizedClasses
void syncGenericAndParameterizedClasses()
-
addDelegateImpls
void addDelegateImpls(ISymbolTable symTable, GosuClassParser parser)
-
getUnimplementedMethods
List<IFunctionType> getUnimplementedMethods()
-
setFullDescription
void setFullDescription(String description)
-
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:
getBlocks
in interfaceIGosuClass
-
getBlockCount
int getBlockCount()
- Specified by:
getBlockCount
in interfaceICompilableTypeInternal
-
addBlock
void addBlock(IBlockClass block)
- Specified by:
addBlock
in interfaceICompilableTypeInternal
-
removeBlock
void removeBlock(IBlockClass block)
- Specified by:
removeBlock
in interfaceICompilableTypeInternal
-
getTypeLoader
GosuClassTypeLoader getTypeLoader()
- Specified by:
getTypeLoader
in interfaceICompilableType
- Specified by:
getTypeLoader
in interfaceIType
-
isCreateEditorParser
boolean isCreateEditorParser()
- Specified by:
isCreateEditorParser
in interfaceICompilableTypeInternal
-
setTypeUsesMap
void setTypeUsesMap(ITypeUsesMap usesMap)
-
setHasAssertions
void setHasAssertions(boolean bHasAssertions)
-
-