Class BlockClass
java.lang.Object
gw.lang.reflect.AbstractType
gw.lang.reflect.InnerClassCapableType
gw.internal.gosu.parser.GosuClass
gw.internal.gosu.parser.SyntheticClass
gw.internal.gosu.parser.BlockClass
- All Implemented Interfaces:
IBlockClassInternal, ICompilableTypeInternal, IGosuClassInternal, IParameterizableType, IBlockClass, IFileRepositoryBasedType, IHasInnerClass, ICompilableType, IGosuClass, ICanBeAnnotation, IEnhanceableType, IEnumData, IEnumType, IHasJavaClass, IType, Serializable, Comparable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface IGosuClass
IGosuClass.ProxyUtilNested classes/interfaces inherited from interface IGosuClassInternal
IGosuClassInternal.Util -
Field Summary
FieldsFields inherited from class GosuClass
_parseInfoFields inherited from interface IBlockClass
INVOKE_METHOD_NAME, INVOKE_WITH_ARGS_METHOD_NAMEFields inherited from interface IGosuClass
ANONYMOUS_PREFIX, PROXY_PREFIX, SUPER_PROXY_CLASS_PREFIXFields inherited from interface IType
EMPTY_ARRAY, EMPTY_TYPE_ARRAY, EMPTY_TYPE_LIST -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateprivateBlockClass(ICompilableType enclosingClass, int i, BlockExpression blk) -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate IFunctionTypestatic IBlockClassInternalcreate(ICompilableTypeInternal enclosingClass, BlockExpression block, boolean staticBlock) getBlock()private voidprivate voidprivate voidinitType()booleanvoidupdate()Methods inherited from class SyntheticClass
initCompilationStateMethods inherited from class GosuClass
addBlock, 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, getClassStatement, getClassStatementWithoutCompile, getClassType, getCompilationState, getComponentType, getCompoundTypeComponents, getConstructorFunction, getConstructorFunctions, getConstructorStatement, getDefaultConstructor, getDepth, getDisplayName, 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, getParameterizedType, getParameterizedTypes, getParseInfo, getParser, getParseResultsException, getPropertyDeclaration, getRelativeName, getSource, getSourceFileHandle, getSourceFiles, getStaticField, getStaticFields, getStaticFunctions, getStaticProperties, getStaticProperty, getStaticThisSymbol, getSubtypes, getSuperClass, getSupertype, getTypeInfo, getTypeInfoChecksum, getTypeLoader, getTypeParameters, getTypeUsesMap, getTypeVarDefs, getUnimplementedMethods, getUnimplementedMethods, getUnimplementedMethods, hasAncestorBeenUpdated, hasAssertions, hasBackingClass, hasError, hasWarnings, isAbstract, isAccessible, isAnnotation, 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, makeCopy, 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 AbstractType
getLiteralMetaType, getMetaType, getTheRefMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Comparable
compareToMethods inherited from interface ICanBeAnnotation
isAnnotationMethods inherited from interface ICompilableType
getBlock, getClassStatement, getExternalSymbol, getParser, getTypeUsesMap, isStaticMethods inherited from interface ICompilableTypeInternal
getAnonymousInnerClassCount, getEnclosingType, getMemberFields, getMemberProperty, getSource, hasAssertions, shouldFullyCompileAnnotationsMethods inherited from interface IEnumData
getEnumConstants, getEnumValue, getEnumValuesMethods inherited from interface IFileRepositoryBasedType
getClassType, getJavaName, getSourceFileHandleMethods inherited from interface 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 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
-
TMP_INT_IDENTIFIER
-
-
Constructor Details
-
BlockClass
-
BlockClass
-
-
Method Details
-
getCapturedSymbols
- Specified by:
getCapturedSymbolsin interfaceICompilableTypeInternal- Specified by:
getCapturedSymbolsin interfaceIGosuClassInternal- Overrides:
getCapturedSymbolsin classGosuClass
-
initType
private void initType() -
update
public void update()- Specified by:
updatein interfaceIBlockClassInternal
-
implementInvoke
private void implementInvoke() -
implementToString
private void implementToString() -
convertToObjectSignature
-
addCapturedSymbol
- Specified by:
addCapturedSymbolin interfaceICompilableTypeInternal- Specified by:
addCapturedSymbolin interfaceIGosuClassInternal- Overrides:
addCapturedSymbolin classGosuClass
-
getEnclosingNonBlockType
- Specified by:
getEnclosingNonBlockTypein interfaceICompilableTypeInternal- Specified by:
getEnclosingNonBlockTypein interfaceIGosuClassInternal- Overrides:
getEnclosingNonBlockTypein classGosuClass
-
convertToObjectSymbols
-
getBlock
- Specified by:
getBlockin interfaceIBlockClass
-
getBlockType
- Specified by:
getBlockTypein interfaceIBlockClass
-
create
public static IBlockClassInternal create(ICompilableTypeInternal enclosingClass, BlockExpression block, boolean staticBlock) -
isAnonymous
public boolean isAnonymous()- Specified by:
isAnonymousin interfaceICompilableType- Overrides:
isAnonymousin classGosuClass
-