Class ModuleType
java.lang.Object
org.sonar.plugins.python.api.types.v2.ModuleType
- All Implemented Interfaces:
PythonType
-
Field Summary
Fields inherited from interface org.sonar.plugins.python.api.types.v2.PythonType
UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionModuleType(String name) ModuleType(String name, String fullyQualifiedName, ModuleType parent, Map<String, TypeWrapper> members) ModuleType(String name, ModuleType parent) ModuleType(String name, ModuleType parent, Map<String, TypeWrapper> members) -
Method Summary
Modifier and TypeMethodDescriptionmembers()name()parent()resolveMember(String memberName) resolveSubmodule(String submoduleName) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.sonar.plugins.python.api.types.v2.PythonType
definitionLocation, displayName, instanceDisplayName, isCompatibleWith, key, typeSource, unwrappedType
-
Constructor Details
-
ModuleType
public ModuleType(@Nullable String name, @Nullable String fullyQualifiedName, @Nullable ModuleType parent, Map<String, TypeWrapper> members) -
ModuleType
-
ModuleType
-
ModuleType
public ModuleType(@Nullable String name, @Nullable ModuleType parent, Map<String, TypeWrapper> members)
-
-
Method Details
-
resolveMember
- Specified by:
resolveMemberin interfacePythonType
-
resolveSubmodule
-
hasMember
- Specified by:
hasMemberin interfacePythonType
-
toString
-
name
- Specified by:
namein interfacePythonType
-
fullyQualifiedName
-
parent
-
members
-