recoder.java
Interface TypeScope
- All Superinterfaces:
- ModelElement, NonTerminalProgramElement, ProgramElement, ScopeDefiningElement, SourceElement
- All Known Implementing Classes:
- AnnotationDeclaration, AnnotationPropertyDeclaration, ClassDeclaration, CompilationUnit, ConstructorDeclaration, EnumDeclaration, InterfaceDeclaration, MethodDeclaration, StatementBlock, Switch, TypeDeclaration, TypeParameterDeclaration
public interface TypeScope
- extends ScopeDefiningElement
The property of a non terminal program element to define a scope for types.
| Methods inherited from interface recoder.java.SourceElement |
accept, deepClone, getEndPosition, getFactory, getFirstElement, getLastElement, getRelativePosition, getStartPosition, setEndPosition, setRelativePosition, setStartPosition, toSource |
getTypesInScope
java.util.List<? extends ClassType> getTypesInScope()
getTypeInScope
ClassType getTypeInScope(java.lang.String name)
addTypeToScope
void addTypeToScope(ClassType type,
java.lang.String name)
removeTypeFromScope
void removeTypeFromScope(java.lang.String name)