Package gw.internal.gosu.parser
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 gw.lang.reflect.gs.IGosuClass
IGosuClass.ProxyUtilNested classes/interfaces inherited from interface gw.internal.gosu.parser.IGosuClassInternal
IGosuClassInternal.Util -
Field Summary
FieldsFields inherited from class gw.internal.gosu.parser.GosuClass
_parseInfoFields inherited from interface gw.lang.parser.IBlockClass
INVOKE_METHOD_NAME, INVOKE_WITH_ARGS_METHOD_NAMEFields 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 -
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 gw.internal.gosu.parser.SyntheticClass
initCompilationStateMethods inherited from class gw.internal.gosu.parser.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 gw.lang.reflect.AbstractType
getLiteralMetaType, getMetaType, getTheRefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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, isStaticMethods inherited from interface gw.internal.gosu.parser.ICompilableTypeInternal
getAnonymousInnerClassCount, getEnclosingType, getMemberFields, getMemberProperty, 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
-
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
-