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

Find Path #3

Open
ahmedhgabr opened this issue Sep 21, 2023 · 0 comments
Open

Find Path #3

ahmedhgabr opened this issue Sep 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ahmedhgabr
Copy link
Owner

To use Java reflection we need a path in the form of "Example.Package.Class".
Check the testSuper in ClassTester. If the superclass is Exception, we can not take the same approach writing "ExceptionPath". we need to write "java.lang.Exception". In this case, we can add ExceptionPath to intro, but the same can happen for another superclass, or fields when the field type is from a Java package we didn't consider.

note: because writing the test happens on each Javas on its own, it may need an object that has all the input Javas names to find if it is an input Java file or not, and still input file name can be the same name of another Java package, so for example the project will need to differentiate between "java.lang.Class" and a class in the input called "Main.Class".

@ahmedhgabr ahmedhgabr added the bug Something isn't working label Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant