Package org.sonar.python.semantic
Class AmbiguousSymbolImpl
- java.lang.Object
-
- org.sonar.python.semantic.SymbolImpl
-
- org.sonar.python.semantic.AmbiguousSymbolImpl
-
- All Implemented Interfaces:
AmbiguousSymbol,Symbol
public class AmbiguousSymbolImpl extends SymbolImpl implements AmbiguousSymbol
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.plugins.python.api.symbols.Symbol
Symbol.Kind
-
-
Field Summary
-
Fields inherited from class org.sonar.python.semantic.SymbolImpl
validForPythonVersions
-
-
Constructor Summary
Constructors Constructor Description AmbiguousSymbolImpl(String name, String fullyQualifiedName, Set<Symbol> symbols)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Symbol>alternatives()AmbiguousSymbolImplcopyWithoutUsages()static AmbiguousSymbolcreate(Set<Symbol> symbols)static AmbiguousSymbolcreate(Symbol... symbols)voidremoveUsages()Set<String>validForPythonVersions()-
Methods inherited from class org.sonar.python.semantic.SymbolImpl
addChildSymbol, annotatedTypeName, fullyQualifiedName, getChildrenSymbolByName, inferredType, is, kind, name, setAnnotatedTypeName, setInferredType, setKind, usages
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sonar.plugins.python.api.symbols.Symbol
annotatedTypeName, fullyQualifiedName, is, kind, name, usages
-
-
-
-
Method Detail
-
create
public static AmbiguousSymbol create(Set<Symbol> symbols)
-
create
public static AmbiguousSymbol create(Symbol... symbols)
-
alternatives
public Set<Symbol> alternatives()
- Specified by:
alternativesin interfaceAmbiguousSymbol
-
copyWithoutUsages
public AmbiguousSymbolImpl copyWithoutUsages()
- Overrides:
copyWithoutUsagesin classSymbolImpl
-
removeUsages
public void removeUsages()
- Overrides:
removeUsagesin classSymbolImpl
-
validForPythonVersions
public Set<String> validForPythonVersions()
- Overrides:
validForPythonVersionsin classSymbolImpl
-
-