Skip to content

Reuse accessibility checks from utbot-framework in fuzzer's ObjectValueProvider #1507

Open
@volivan239

Description

@volivan239

Description

To create instances of classes, we need to be able to check their fields/methods/constructors for accessibility from package of test class. This part is error-prone because there are corner cases, sometimes you may want to look for getters/setters, etc. However, currently this logic is implemented twice: in codegen (see org.utbot.framework.codegen.util) and in fuzzer (see ObjectValueProvider). We should merge these implementations to avoid code duplication.

Metadata

Metadata

Labels

comp-fuzzingIssue is related to the fuzzingctg-refactoringIssue related to refactoring process

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions