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

  • Field Details

  • Method Details

    • getTypeInfo

      IGosuClassTypeInfo getTypeInfo()
      Description copied from interface: IType
      Get the type information for this intrinsic type.
      Specified by:
      getTypeInfo in interface ICompilableType
      Specified by:
      getTypeInfo in interface IType
      See Also:
    • getModifierInfo

      IModifierInfo getModifierInfo()
    • isSubClass

      boolean isSubClass(IType gsSubType)
    • isStructure

      boolean isStructure()
    • isCompiled

      boolean isCompiled()
    • getInnerClass

      IGosuClass getInnerClass(CharSequence strTypeName)
      Description copied from interface: IHasInnerClass
      returns the appropriate inner class
      Specified by:
      getInnerClass in interface IHasInnerClass
      Returns:
    • getInnerClasses

      List<? extends IGosuClass> getInnerClasses()
      Specified by:
      getInnerClasses in interface IHasInnerClass
    • 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

      IDynamicPropertySymbol getMemberProperty(String name)
    • getEnclosingTypeReference

      IType getEnclosingTypeReference()
    • getFunctionStatement

      IFunctionStatement getFunctionStatement(IMethodInfo method)
    • getConstructorStatement

      IConstructorStatement getConstructorStatement(IConstructorInfo ctor)
    • getPropertyDeclaration

      INameInDeclaration getPropertyDeclaration(String name)
    • getJavaType

      IJavaType getJavaType()
    • getSubtypes

      List<? extends IType> getSubtypes()
      WARNING: This method is slow the first time it is called. It will iterate over all types in the system and find all matching subtypes
      Returns:
      all subtypes of this type
    • setEnclosingType

      void setEnclosingType(IType enclosingType)
      Only for use during type loading e.g., from GosuClassTypeLoader
      Parameters:
      enclosingType - the enclosing type
    • setNamespace

      void setNamespace(String strNamespace)
    • 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()