Interface IGosuClass
- All Superinterfaces:
Comparable, ICanBeAnnotation, ICompilableType, IEnhanceableType, IEnumData, IEnumType, IFileRepositoryBasedType, IHasInnerClass, IHasJavaClass, IParameterizableType, IType, Serializable
- All Known Subinterfaces:
IBlockClass, IBlockClassInternal, IGosuClassInternal, IGosuEnhancement, IGosuEnhancementInternal, IGosuProgram, IGosuProgramInternal, IGosuTemplateInternal, ITemplateType
- All Known Implementing Classes:
BlockClass, GosuClass, GosuClassFragment, GosuEnhancement, GosuProgram, GosuTemplateType, SyntheticClass
public interface IGosuClass
extends ICompilableType, IEnumType, IEnhanceableType, Comparable, IHasInnerClass, IHasJavaClass, IParameterizableType, ICanBeAnnotation
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from interface IType
EMPTY_ARRAY, EMPTY_TYPE_ARRAY, EMPTY_TYPE_LIST -
Method Summary
Modifier and TypeMethodDescriptiongetFunctionStatement(IMethodInfo method) getInnerClass(CharSequence strTypeName) returns the appropriate inner classList<? extends IGosuClass> Map<CharSequence, ? extends IGosuClass> Map<CharSequence, ? extends IGosuClass> List<? extends IVarStatement> Map<String, ? extends IVarStatement> List<? extends IDynamicFunctionSymbol> getMemberProperty(String name) getPropertyDeclaration(String name) WARNING: This method is slow the first time it is called.Get the type information for this intrinsic type.booleanbooleanhasError()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisSubClass(IType gsSubType) booleanvoidsetCreateEditorParser(boolean bEditorParser) voidsetEnclosingType(IType enclosingType) Only for use during type loading e.g., from GosuClassTypeLoadervoidsetNamespace(String strNamespace) booleanvoidMethods inherited from interface Comparable
compareToMethods inherited from interface ICanBeAnnotation
isAnnotationMethods inherited from interface ICompilableType
getBlock, getClassStatement, getEnclosingType, getExternalSymbol, getParser, getTypeLoader, getTypeUsesMap, isAnonymous, isStaticMethods inherited from interface IEnumData
getEnumConstants, getEnumValue, getEnumValuesMethods inherited from interface IFileRepositoryBasedType
getClassType, getJavaName, getSourceFileHandleMethods inherited from interface IHasInnerClass
getLoadedInnerClasses, resolveRelativeInnerClassMethods inherited from interface IHasJavaClass
getBackingClassMethods inherited from interface IParameterizableType
getLoaderParameterizedTypes, isStrictGenericsMethods inherited from interface 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
-
Field Details
-
PROXY_PREFIX
- See Also:
-
SUPER_PROXY_CLASS_PREFIX
- See Also:
-
ANONYMOUS_PREFIX
- See Also:
-
-
Method Details
-
getTypeInfo
IGosuClassTypeInfo getTypeInfo()Description copied from interface:ITypeGet the type information for this intrinsic type.- Specified by:
getTypeInfoin interfaceICompilableType- Specified by:
getTypeInfoin interfaceIType- See Also:
-
getModifierInfo
IModifierInfo getModifierInfo() -
isSubClass
-
isStructure
boolean isStructure() -
isCompiled
boolean isCompiled() -
getInnerClass
Description copied from interface:IHasInnerClassreturns the appropriate inner class- Specified by:
getInnerClassin interfaceIHasInnerClass- Parameters:
strTypeName-- Returns:
-
getInnerClasses
List<? extends IGosuClass> getInnerClasses()- Specified by:
getInnerClassesin interfaceIHasInnerClass
-
getInnerClassesMap
Map<CharSequence, ? extends IGosuClass> getInnerClassesMap() -
getClassStatementWithoutCompile
IClassStatement getClassStatementWithoutCompile() -
getCompilationState
ICompilationState getCompilationState() -
isCompilingHeader
boolean isCompilingHeader() -
isHeaderCompiled
boolean isHeaderCompiled() -
isCompilingDeclarations
boolean isCompilingDeclarations() -
isDeclarationsCompiled
boolean isDeclarationsCompiled() -
isDeclarationsBypassed
boolean isDeclarationsBypassed() -
isInnerDeclarationsCompiled
boolean isInnerDeclarationsCompiled() -
isCompilingDefinitions
boolean isCompilingDefinitions() -
isDefinitionsCompiled
boolean isDefinitionsCompiled() -
isTestClass
boolean isTestClass() -
hasError
boolean hasError() -
hasWarnings
boolean hasWarnings() -
getParseResultsException
ParseResultsException getParseResultsException() -
getMemberFields
List<? extends IVarStatement> getMemberFields() -
getMemberFunctions
List<? extends IDynamicFunctionSymbol> getMemberFunctions() -
getMemberFieldsMap
Map<String, ? extends IVarStatement> getMemberFieldsMap() -
getMemberProperty
-
getEnclosingTypeReference
IType getEnclosingTypeReference() -
getFunctionStatement
-
getConstructorStatement
-
getPropertyDeclaration
-
getJavaType
IJavaType getJavaType() -
getSubtypes
-
setEnclosingType
Only for use during type loading e.g., from GosuClassTypeLoader- Parameters:
enclosingType- the enclosing type
-
setNamespace
-
shouldKeepDebugInfo
boolean shouldKeepDebugInfo() -
setCreateEditorParser
void setCreateEditorParser(boolean bEditorParser) -
unloadBackingClass
void unloadBackingClass() -
hasBackingClass
boolean hasBackingClass() -
findProxiedClassInHierarchy
IType findProxiedClassInHierarchy() -
getKnownInnerClassesWithoutCompiling
Map<CharSequence, ? extends IGosuClass> getKnownInnerClassesWithoutCompiling() -
getBlocks
List<IGosuClass> getBlocks() -
getSource
String getSource()
-