Class OOTypeSymbol
java.lang.Object
de.monticore.symbols.basicsymbols._symboltable.TypeSymbolTOP
de.monticore.symbols.basicsymbols._symboltable.TypeSymbol
de.monticore.symbols.oosymbols._symboltable.OOTypeSymbolTOP
de.monticore.symbols.oosymbols._symboltable.OOTypeSymbol
- All Implemented Interfaces:
ICommonBasicSymbolsSymbol,ICommonOOSymbolsSymbol,de.monticore.symboltable.IScopeSpanningSymbol,de.monticore.symboltable.ISymbol
- Direct Known Subclasses:
OOTypeSymbolSurrogateTOP
-
Field Summary
Fields inherited from class de.monticore.symbols.oosymbols._symboltable.OOTypeSymbolTOP
isAbstract, isClass, isEnum, isFinal, isInterface, isPrivate, isProtected, isPublic, isStaticFields inherited from class de.monticore.symbols.basicsymbols._symboltable.TypeSymbolTOP
accessModifier, astNode, enclosingScope, fullName, name, packageName, spannedScope, stereoinfo, superTypes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidde.monticore.symboltable.modifiers.AccessModifierget a list of all the fields the type definition can accessgetFieldList(String fieldname) search in the scope for methods with a specific nameget a list of all the methods the type definition can accessgetMethodList(String methodname) search in the scope for methods with a specific namebooleanvoidsetIsPrivate(boolean isPrivate) voidsetIsProtected(boolean isProtected) voidsetIsPublic(boolean isPublic) voidsetMethodList(List<MethodSymbol> methodList) Methods inherited from class de.monticore.symbols.oosymbols._symboltable.OOTypeSymbolTOP
accept, accept, accept, accept, determineFullName, determinePackageName, equals, getAstNode, getEnclosingScope, getSpannedScope, getThis, isIsAbstract, isIsClass, isIsEnum, isIsFinal, isIsInterface, isIsPrivate, isIsProtected, isIsPublic, isIsStatic, setEnclosingScope, setIsAbstract, setIsClass, setIsEnum, setIsFinal, setIsInterface, setIsStatic, setSpannedScope, toStringMethods inherited from class de.monticore.symbols.basicsymbols._symboltable.TypeSymbol
addFunctionSymbol, addVariableSymbol, getFunctionList, getFunctionList, getVariableList, getVariableList, setFunctionListMethods inherited from class de.monticore.symbols.basicsymbols._symboltable.TypeSymbolTOP
addAllSuperTypes, addAllSuperTypes, addSuperTypes, addSuperTypes, clearSuperTypes, containsAllSuperTypes, containsSuperTypes, equalsSuperTypes, forEachSuperTypes, getFullName, getName, getPackageName, getStereoinfo, getSuperTypes, getSuperTypesList, hashCodeSuperTypes, indexOfSuperTypes, isEmptySuperTypes, isPresentAstNode, iteratorSuperTypes, lastIndexOfSuperTypes, listIteratorSuperTypes, listIteratorSuperTypes, parallelStreamSuperTypes, removeAllSuperTypes, removeIfSuperTypes, removeSuperTypes, removeSuperTypes, replaceAllSuperTypes, retainAllSuperTypes, setAccessModifier, setAstNode, setAstNodeAbsent, setEnclosingScope, setFullName, setName, setPackageName, setSpannedScope, setStereoinfo, setSuperTypes, setSuperTypesList, sizeSuperTypes, sortSuperTypes, spliteratorSuperTypes, streamSuperTypes, subListSuperTypes, toArraySuperTypes, toArraySuperTypesMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.monticore.symboltable.ISymbol
getFullName, getName, getPackageName, getSourcePosition, getStereoinfo, isPresentAstNode, setAccessModifier
-
Constructor Details
-
OOTypeSymbol
-
-
Method Details
-
setMethodList
-
getMethodList
get a list of all the methods the type definition can access -
getMethodList
search in the scope for methods with a specific name -
getFieldList
get a list of all the fields the type definition can access -
getFieldList
search in the scope for methods with a specific name -
getTypeParameterList
- Overrides:
getTypeParameterListin classTypeSymbol
-
addTypeVarSymbol
- Overrides:
addTypeVarSymbolin classTypeSymbol
-
addFieldSymbol
-
addMethodSymbol
-
isPresentSuperClass
public boolean isPresentSuperClass()- Overrides:
isPresentSuperClassin classTypeSymbol
-
getSuperClass
- Overrides:
getSuperClassin classTypeSymbol
-
getSuperClassesOnly
- Overrides:
getSuperClassesOnlyin classTypeSymbol
-
getInterfaceList
- Overrides:
getInterfaceListin classTypeSymbol
-
getAccessModifier
public de.monticore.symboltable.modifiers.AccessModifier getAccessModifier()- Specified by:
getAccessModifierin interfacede.monticore.symboltable.ISymbol- Overrides:
getAccessModifierin classTypeSymbol
-
setIsPublic
public void setIsPublic(boolean isPublic) - Overrides:
setIsPublicin classOOTypeSymbolTOP
-
setIsPrivate
public void setIsPrivate(boolean isPrivate) - Overrides:
setIsPrivatein classOOTypeSymbolTOP
-
setIsProtected
public void setIsProtected(boolean isProtected) - Overrides:
setIsProtectedin classOOTypeSymbolTOP
-