Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add executable generic parameter type resolving #2584

Merged
merged 2 commits into from
Sep 20, 2023

Conversation

IlyaMuravjov
Copy link
Collaborator

@IlyaMuravjov IlyaMuravjov commented Sep 8, 2023

Description

Adds resolving for parameter types that can be used in #2583

Resolving is needed when we deal with generic types, for example, when we want to get Optional<String> from Optional.of it resolves that we need to pass String and not just any arbitrary Object as erased signature would say.

How to test

Automated tests

Run org.utbot.fuzzer.TypeUtilsTest

Self-check list

  • I've set the proper labels for my PR (at least, for category and component).
  • PR title and description are clear and intelligible.
  • I've added enough comments to my code, particularly in hard-to-understand areas.
  • The functionality I've repaired, changed or added is covered with automated tests.
  • Manual tests have been provided optionally.
  • The documentation for the functionality I've been working on is up-to-date.

@IlyaMuravjov IlyaMuravjov added ctg-enhancement New feature, improvement or change request comp-fuzzing Issue is related to the fuzzing labels Sep 8, 2023
@IlyaMuravjov IlyaMuravjov marked this pull request as ready for review September 8, 2023 13:07
@IlyaMuravjov IlyaMuravjov merged commit b901732 into main Sep 20, 2023
@IlyaMuravjov IlyaMuravjov deleted the ilya_m/generic-parameter-type-resolver branch September 20, 2023 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-fuzzing Issue is related to the fuzzing ctg-enhancement New feature, improvement or change request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants