Class ObjectType
java.lang.Object
org.sonar.plugins.python.api.types.v2.ObjectType
- All Implemented Interfaces:
PythonType
-
Field Summary
Fields inherited from interface org.sonar.plugins.python.api.types.v2.PythonType
UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionObjectType(PythonType type) ObjectType(PythonType type, List<PythonType> attributes, List<Member> members) ObjectType(PythonType type, List<PythonType> attributes, List<Member> members, TypeSource typeSource) ObjectType(PythonType type, TypeSource typeSource) ObjectType(TypeWrapper typeWrapper) ObjectType(TypeWrapper typeWrapper, List<PythonType> attributes, List<Member> members, TypeSource typeSource) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanisCompatibleWith(PythonType another) members()resolveMember(String memberName) toString()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
-
Constructor Details
-
ObjectType
public ObjectType(TypeWrapper typeWrapper, List<PythonType> attributes, List<Member> members, TypeSource typeSource) -
ObjectType
public ObjectType(PythonType type, List<PythonType> attributes, List<Member> members, TypeSource typeSource) -
ObjectType
-
ObjectType
-
ObjectType
-
ObjectType
-
-
Method Details
-
displayName
- Specified by:
displayNamein interfacePythonType
-
isCompatibleWith
- Specified by:
isCompatibleWithin interfacePythonType
-
unwrappedType
- Specified by:
unwrappedTypein interfacePythonType
-
resolveMember
- 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
-