Package org.sonar.python.semantic.v2
Class ClassTypeBuilder
java.lang.Object
org.sonar.python.semantic.v2.ClassTypeBuilder
- All Implemented Interfaces:
TypeBuilder<ClassType>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSuperClass(PythonType type) addSuperClass(TypeWrapper typeWrapper) build()withDefinitionLocation(LocationInFile definitionLocation) withHasDecorators(boolean hasDecorators) withIsGeneric(boolean isGeneric) withSuperClasses(PythonType... types)
-
Constructor Details
-
ClassTypeBuilder
-
-
Method Details
-
build
- Specified by:
buildin interfaceTypeBuilder<ClassType>
-
withHasDecorators
-
withIsGeneric
-
withDefinitionLocation
- Specified by:
withDefinitionLocationin interfaceTypeBuilder<ClassType>
-
addSuperClass
-
addSuperClass
-
withSuperClasses
-
metaClasses
-