Interface IMCSimpleGenericTypesArtifactScope
-
- All Superinterfaces:
de.monticore.symboltable.IArtifactScope,IMCBasicsArtifactScope,IMCBasicsScope,IMCBasicTypesArtifactScope,IMCBasicTypesScope,IMCCollectionTypesArtifactScope,IMCCollectionTypesScope,IMCSimpleGenericTypesScope,de.monticore.symboltable.IScope
- All Known Subinterfaces:
IGrammar_WithConceptsArtifactScope,IGrammarArtifactScope,IJavaClassExpressionsArtifactScope,IJavaLightArtifactScope,IMCFullGenericTypesArtifactScope,IODRuleGenerationArtifactScope,IODRulesArtifactScope,ITFBasisExtsArtifactScope,ITFCommonsArtifactScope
- All Known Implementing Classes:
Grammar_WithConceptsArtifactScope,GrammarArtifactScope,JavaClassExpressionsArtifactScope,JavaLightArtifactScope,MCFullGenericTypesArtifactScope,MCSimpleGenericTypesArtifactScope,ODRuleGenerationArtifactScope,ODRulesArtifactScope,TFBasisExtsArtifactScope,TFCommonsArtifactScope
public interface IMCSimpleGenericTypesArtifactScope extends IMCCollectionTypesArtifactScope, IMCSimpleGenericTypesScope
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaccept(MCBasicsTraverser visitor)voidaccept(MCBasicTypesTraverser visitor)voidaccept(MCCollectionTypesTraverser visitor)voidaccept(MCSimpleGenericTypesTraverser visitor)voidaccept(de.monticore.visitor.ITraverser visitor)default booleanaddAllImports(int index, java.util.Collection<? extends de.monticore.symboltable.ImportStatement> collection)default booleanaddAllImports(java.util.Collection<? extends de.monticore.symboltable.ImportStatement> collection)default voidaddImports(int index, de.monticore.symboltable.ImportStatement element)default booleanaddImports(de.monticore.symboltable.ImportStatement element)default booleancheckIfContinueAsSubScope(java.lang.String symbolName)default voidclearImports()default booleancontainsAllImports(java.util.Collection<?> collection)default booleancontainsImports(java.lang.Object element)default booleanequalsImports(java.lang.Object o)default voidforEachImports(java.util.function.Consumer<? super de.monticore.symboltable.ImportStatement> action)default java.lang.StringgetFullName()default de.monticore.symboltable.ImportStatementgetImports(int index)java.util.List<de.monticore.symboltable.ImportStatement>getImportsList()default java.util.List<java.lang.String>getRemainingNameForResolveDown(java.lang.String symbolName)default java.util.Optional<de.monticore.symboltable.ISymbol>getTopLevelSymbol()default inthashCodeImports()default intindexOfImports(java.lang.Object element)default booleanisEmptyImports()default java.util.Iterator<de.monticore.symboltable.ImportStatement>iteratorImports()default intlastIndexOfImports(java.lang.Object element)default java.util.ListIterator<de.monticore.symboltable.ImportStatement>listIteratorImports()default java.util.ListIterator<de.monticore.symboltable.ImportStatement>listIteratorImports(int index)default java.util.stream.Stream<de.monticore.symboltable.ImportStatement>parallelStreamImports()default booleanremoveAllImports(java.util.Collection<?> collection)default booleanremoveIfImports(java.util.function.Predicate<? super de.monticore.symboltable.ImportStatement> filter)default de.monticore.symboltable.ImportStatementremoveImports(int index)default booleanremoveImports(java.lang.Object element)default voidreplaceAllImports(java.util.function.UnaryOperator<de.monticore.symboltable.ImportStatement> operator)default booleanretainAllImports(java.util.Collection<?> collection)default de.monticore.symboltable.ImportStatementsetImports(int index, de.monticore.symboltable.ImportStatement element)voidsetImportsList(java.util.List<de.monticore.symboltable.ImportStatement> imports)default intsizeImports()default voidsortImports(java.util.Comparator<? super de.monticore.symboltable.ImportStatement> comparator)default java.util.Spliterator<de.monticore.symboltable.ImportStatement>spliteratorImports()default java.util.stream.Stream<de.monticore.symboltable.ImportStatement>streamImports()default java.util.List<de.monticore.symboltable.ImportStatement>subListImports(int start, int end)default java.lang.Object[]toArrayImports()default de.monticore.symboltable.ImportStatement[]toArrayImports(de.monticore.symboltable.ImportStatement[] array)-
Methods inherited from interface de.monticore.symboltable.IArtifactScope
calculateQualifiedNames, getPackageName, setPackageName
-
Methods inherited from interface de.monticore.mcbasics._symboltable.IMCBasicsScope
addSubScope, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.types.mcbasictypes._symboltable.IMCBasicTypesScope
addSubScope, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.types.mccollectiontypes._symboltable.IMCCollectionTypesScope
addSubScope, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.types.mcsimplegenerictypes._symboltable.IMCSimpleGenericTypesScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.symboltable.IScope
add, checkIfContinueWithEnclosingScope, filterSymbolsByAccessModifier, getAstNode, getLocalUnknownSymbols, getName, getNameParts, getResolvedOrThrowException, getSpanningSymbol, getUnknownSymbols, isExportingSymbols, isOrdered, isPresentAstNode, isPresentName, isPresentSpanningSymbol, isProperSubScopeOf, isShadowing, isSubScopeOf, remove, setAstNode, setAstNodeAbsent, setExportingSymbols, setName, setNameAbsent, setOrdered, setShadowing, setSpanningSymbol, setSpanningSymbolAbsent
-
-
-
-
Method Detail
-
containsImports
default boolean containsImports(java.lang.Object element)
- Specified by:
containsImportsin interfaceIMCBasicsArtifactScope- Specified by:
containsImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
containsImportsin interfaceIMCCollectionTypesArtifactScope
-
containsAllImports
default boolean containsAllImports(java.util.Collection<?> collection)
- Specified by:
containsAllImportsin interfaceIMCBasicsArtifactScope- Specified by:
containsAllImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
containsAllImportsin interfaceIMCCollectionTypesArtifactScope
-
isEmptyImports
default boolean isEmptyImports()
- Specified by:
isEmptyImportsin interfaceIMCBasicsArtifactScope- Specified by:
isEmptyImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
isEmptyImportsin interfaceIMCCollectionTypesArtifactScope
-
iteratorImports
default java.util.Iterator<de.monticore.symboltable.ImportStatement> iteratorImports()
- Specified by:
iteratorImportsin interfaceIMCBasicsArtifactScope- Specified by:
iteratorImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
iteratorImportsin interfaceIMCCollectionTypesArtifactScope
-
sizeImports
default int sizeImports()
- Specified by:
sizeImportsin interfaceIMCBasicsArtifactScope- Specified by:
sizeImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
sizeImportsin interfaceIMCCollectionTypesArtifactScope
-
toArrayImports
default de.monticore.symboltable.ImportStatement[] toArrayImports(de.monticore.symboltable.ImportStatement[] array)
- Specified by:
toArrayImportsin interfaceIMCBasicsArtifactScope- Specified by:
toArrayImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
toArrayImportsin interfaceIMCCollectionTypesArtifactScope
-
toArrayImports
default java.lang.Object[] toArrayImports()
- Specified by:
toArrayImportsin interfaceIMCBasicsArtifactScope- Specified by:
toArrayImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
toArrayImportsin interfaceIMCCollectionTypesArtifactScope
-
spliteratorImports
default java.util.Spliterator<de.monticore.symboltable.ImportStatement> spliteratorImports()
- Specified by:
spliteratorImportsin interfaceIMCBasicsArtifactScope- Specified by:
spliteratorImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
spliteratorImportsin interfaceIMCCollectionTypesArtifactScope
-
streamImports
default java.util.stream.Stream<de.monticore.symboltable.ImportStatement> streamImports()
- Specified by:
streamImportsin interfaceIMCBasicsArtifactScope- Specified by:
streamImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
streamImportsin interfaceIMCCollectionTypesArtifactScope
-
parallelStreamImports
default java.util.stream.Stream<de.monticore.symboltable.ImportStatement> parallelStreamImports()
- Specified by:
parallelStreamImportsin interfaceIMCBasicsArtifactScope- Specified by:
parallelStreamImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
parallelStreamImportsin interfaceIMCCollectionTypesArtifactScope
-
getImports
default de.monticore.symboltable.ImportStatement getImports(int index)
- Specified by:
getImportsin interfaceIMCBasicsArtifactScope- Specified by:
getImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
getImportsin interfaceIMCCollectionTypesArtifactScope
-
indexOfImports
default int indexOfImports(java.lang.Object element)
- Specified by:
indexOfImportsin interfaceIMCBasicsArtifactScope- Specified by:
indexOfImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
indexOfImportsin interfaceIMCCollectionTypesArtifactScope
-
lastIndexOfImports
default int lastIndexOfImports(java.lang.Object element)
- Specified by:
lastIndexOfImportsin interfaceIMCBasicsArtifactScope- Specified by:
lastIndexOfImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
lastIndexOfImportsin interfaceIMCCollectionTypesArtifactScope
-
equalsImports
default boolean equalsImports(java.lang.Object o)
- Specified by:
equalsImportsin interfaceIMCBasicsArtifactScope- Specified by:
equalsImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
equalsImportsin interfaceIMCCollectionTypesArtifactScope
-
hashCodeImports
default int hashCodeImports()
- Specified by:
hashCodeImportsin interfaceIMCBasicsArtifactScope- Specified by:
hashCodeImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
hashCodeImportsin interfaceIMCCollectionTypesArtifactScope
-
listIteratorImports
default java.util.ListIterator<de.monticore.symboltable.ImportStatement> listIteratorImports()
- Specified by:
listIteratorImportsin interfaceIMCBasicsArtifactScope- Specified by:
listIteratorImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
listIteratorImportsin interfaceIMCCollectionTypesArtifactScope
-
listIteratorImports
default java.util.ListIterator<de.monticore.symboltable.ImportStatement> listIteratorImports(int index)
- Specified by:
listIteratorImportsin interfaceIMCBasicsArtifactScope- Specified by:
listIteratorImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
listIteratorImportsin interfaceIMCCollectionTypesArtifactScope
-
subListImports
default java.util.List<de.monticore.symboltable.ImportStatement> subListImports(int start, int end)- Specified by:
subListImportsin interfaceIMCBasicsArtifactScope- Specified by:
subListImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
subListImportsin interfaceIMCCollectionTypesArtifactScope
-
clearImports
default void clearImports()
- Specified by:
clearImportsin interfaceIMCBasicsArtifactScope- Specified by:
clearImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
clearImportsin interfaceIMCCollectionTypesArtifactScope
-
addImports
default boolean addImports(de.monticore.symboltable.ImportStatement element)
- Specified by:
addImportsin interfaceIMCBasicsArtifactScope- Specified by:
addImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
addImportsin interfaceIMCCollectionTypesArtifactScope
-
addAllImports
default boolean addAllImports(java.util.Collection<? extends de.monticore.symboltable.ImportStatement> collection)
- Specified by:
addAllImportsin interfaceIMCBasicsArtifactScope- Specified by:
addAllImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
addAllImportsin interfaceIMCCollectionTypesArtifactScope
-
removeImports
default boolean removeImports(java.lang.Object element)
- Specified by:
removeImportsin interfaceIMCBasicsArtifactScope- Specified by:
removeImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
removeImportsin interfaceIMCCollectionTypesArtifactScope
-
removeAllImports
default boolean removeAllImports(java.util.Collection<?> collection)
- Specified by:
removeAllImportsin interfaceIMCBasicsArtifactScope- Specified by:
removeAllImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
removeAllImportsin interfaceIMCCollectionTypesArtifactScope
-
retainAllImports
default boolean retainAllImports(java.util.Collection<?> collection)
- Specified by:
retainAllImportsin interfaceIMCBasicsArtifactScope- Specified by:
retainAllImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
retainAllImportsin interfaceIMCCollectionTypesArtifactScope
-
removeIfImports
default boolean removeIfImports(java.util.function.Predicate<? super de.monticore.symboltable.ImportStatement> filter)
- Specified by:
removeIfImportsin interfaceIMCBasicsArtifactScope- Specified by:
removeIfImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
removeIfImportsin interfaceIMCCollectionTypesArtifactScope
-
forEachImports
default void forEachImports(java.util.function.Consumer<? super de.monticore.symboltable.ImportStatement> action)
- Specified by:
forEachImportsin interfaceIMCBasicsArtifactScope- Specified by:
forEachImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
forEachImportsin interfaceIMCCollectionTypesArtifactScope
-
addImports
default void addImports(int index, de.monticore.symboltable.ImportStatement element)- Specified by:
addImportsin interfaceIMCBasicsArtifactScope- Specified by:
addImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
addImportsin interfaceIMCCollectionTypesArtifactScope
-
addAllImports
default boolean addAllImports(int index, java.util.Collection<? extends de.monticore.symboltable.ImportStatement> collection)- Specified by:
addAllImportsin interfaceIMCBasicsArtifactScope- Specified by:
addAllImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
addAllImportsin interfaceIMCCollectionTypesArtifactScope
-
removeImports
default de.monticore.symboltable.ImportStatement removeImports(int index)
- Specified by:
removeImportsin interfaceIMCBasicsArtifactScope- Specified by:
removeImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
removeImportsin interfaceIMCCollectionTypesArtifactScope
-
setImports
default de.monticore.symboltable.ImportStatement setImports(int index, de.monticore.symboltable.ImportStatement element)- Specified by:
setImportsin interfaceIMCBasicsArtifactScope- Specified by:
setImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
setImportsin interfaceIMCCollectionTypesArtifactScope
-
replaceAllImports
default void replaceAllImports(java.util.function.UnaryOperator<de.monticore.symboltable.ImportStatement> operator)
- Specified by:
replaceAllImportsin interfaceIMCBasicsArtifactScope- Specified by:
replaceAllImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
replaceAllImportsin interfaceIMCCollectionTypesArtifactScope
-
sortImports
default void sortImports(java.util.Comparator<? super de.monticore.symboltable.ImportStatement> comparator)
- Specified by:
sortImportsin interfaceIMCBasicsArtifactScope- Specified by:
sortImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
sortImportsin interfaceIMCCollectionTypesArtifactScope
-
getImportsList
java.util.List<de.monticore.symboltable.ImportStatement> getImportsList()
- Specified by:
getImportsListin interfaceIMCBasicsArtifactScope- Specified by:
getImportsListin interfaceIMCBasicTypesArtifactScope- Specified by:
getImportsListin interfaceIMCCollectionTypesArtifactScope
-
setImportsList
void setImportsList(java.util.List<de.monticore.symboltable.ImportStatement> imports)
- Specified by:
setImportsListin interfaceIMCBasicsArtifactScope- Specified by:
setImportsListin interfaceIMCBasicTypesArtifactScope- Specified by:
setImportsListin interfaceIMCCollectionTypesArtifactScope
-
getTopLevelSymbol
default java.util.Optional<de.monticore.symboltable.ISymbol> getTopLevelSymbol()
- Specified by:
getTopLevelSymbolin interfaceIMCBasicsArtifactScope- Specified by:
getTopLevelSymbolin interfaceIMCBasicTypesArtifactScope- Specified by:
getTopLevelSymbolin interfaceIMCCollectionTypesArtifactScope
-
checkIfContinueAsSubScope
default boolean checkIfContinueAsSubScope(java.lang.String symbolName)
- Specified by:
checkIfContinueAsSubScopein interfaceIMCBasicsArtifactScope- Specified by:
checkIfContinueAsSubScopein interfaceIMCBasicTypesArtifactScope- Specified by:
checkIfContinueAsSubScopein interfaceIMCCollectionTypesArtifactScope- Specified by:
checkIfContinueAsSubScopein interfacede.monticore.symboltable.IScope
-
getRemainingNameForResolveDown
default java.util.List<java.lang.String> getRemainingNameForResolveDown(java.lang.String symbolName)
- Specified by:
getRemainingNameForResolveDownin interfaceIMCBasicsArtifactScope- Specified by:
getRemainingNameForResolveDownin interfaceIMCBasicTypesArtifactScope- Specified by:
getRemainingNameForResolveDownin interfaceIMCCollectionTypesArtifactScope- Specified by:
getRemainingNameForResolveDownin interfacede.monticore.symboltable.IScope
-
getFullName
default java.lang.String getFullName()
- Specified by:
getFullNamein interfacede.monticore.symboltable.IArtifactScope- Specified by:
getFullNamein interfaceIMCBasicsArtifactScope- Specified by:
getFullNamein interfaceIMCBasicTypesArtifactScope- Specified by:
getFullNamein interfaceIMCCollectionTypesArtifactScope
-
accept
void accept(MCSimpleGenericTypesTraverser visitor)
- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope
-
accept
void accept(MCCollectionTypesTraverser visitor)
- Specified by:
acceptin interfaceIMCCollectionTypesArtifactScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope
-
accept
void accept(MCBasicTypesTraverser visitor)
- Specified by:
acceptin interfaceIMCBasicTypesArtifactScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCollectionTypesArtifactScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope
-
accept
void accept(MCBasicsTraverser visitor)
- Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCBasicTypesArtifactScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCollectionTypesArtifactScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope
-
accept
void accept(de.monticore.visitor.ITraverser visitor)
- Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCBasicTypesArtifactScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCollectionTypesArtifactScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope
-
-