Package org.sonar.python.index
Class ClassDescriptor.ClassDescriptorBuilder
java.lang.Object
org.sonar.python.index.ClassDescriptor.ClassDescriptorBuilder
- Enclosing class:
- ClassDescriptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withDefinitionLocation(LocationInFile definitionLocation) withFullyQualifiedName(String fullyQualifiedName) withHasDecorators(boolean hasDecorators) withHasMetaClass(boolean hasMetaClass) withHasSuperClassWithoutDescriptor(boolean hasSuperClassWithoutDescriptor) withMembers(Set<Descriptor> members) withMetaclassFQN(String metaclassFQN) withSuperClasses(Collection<String> superClasses) withSupportsGenerics(boolean supportsGenerics)
-
Constructor Details
-
ClassDescriptorBuilder
public ClassDescriptorBuilder()
-
-
Method Details
-
withName
-
withFullyQualifiedName
-
withSuperClasses
-
withMembers
-
withHasDecorators
-
withHasSuperClassWithoutDescriptor
public ClassDescriptor.ClassDescriptorBuilder withHasSuperClassWithoutDescriptor(boolean hasSuperClassWithoutDescriptor) -
withDefinitionLocation
public ClassDescriptor.ClassDescriptorBuilder withDefinitionLocation(@Nullable LocationInFile definitionLocation) -
withHasMetaClass
-
withMetaclassFQN
-
withSupportsGenerics
-
build
-