Class ObjectType
java.lang.Object
org.sonar.plugins.python.api.types.v2.ObjectType
- All Implemented Interfaces:
PythonType
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.sonar.plugins.python.api.types.v2.PythonType
UNKNOWN -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ObjectTypefromType(PythonType type) inthashCode()booleanisCompatibleWith(PythonType another) members()resolveMember(String memberName) Attempts to resolve a PythonType's member It should return Optional.empty() when the member doesn't exist, and PythonType.UNKNOWN when the member may exist but can't be resolvedtoString()type()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.sonar.plugins.python.api.types.v2.PythonType
instanceDisplayName, key, name
-
Method Details
-
displayName
- Specified by:
displayNamein interfacePythonType
-
isCompatibleWith
- Specified by:
isCompatibleWithin interfacePythonType
-
unwrappedType
- Specified by:
unwrappedTypein interfacePythonType
-
resolveMember
Description copied from interface:PythonTypeAttempts to resolve a PythonType's member It should return Optional.empty() when the member doesn't exist, and PythonType.UNKNOWN when the member may exist but can't be resolved- Specified by:
resolveMemberin interfacePythonType
-
hasMember
- Specified by:
hasMemberin interfacePythonType
-
definitionLocation
- Specified by:
definitionLocationin interfacePythonType
-
equals
-
hashCode
public int hashCode() -
type
-
typeWrapper
-
attributes
-
members
-
typeSource
- Specified by:
typeSourcein interfacePythonType
-
toString
-
fromType
-