You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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".
The text was updated successfully, but these errors were encountered:
To use Java reflection we need a path in the form of "Example.Package.Class".
Check the
testSuper
inClassTester
. If the superclass isException
, we can not take the same approach writing "ExceptionPath". we need to write "java.lang.Exception". In this case, we can addExceptionPath
tointro
, 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 inputJavas
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".The text was updated successfully, but these errors were encountered: