-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
classes with methods / fields that reference unfound classes can't be used in mirror #20
Comments
Yea I think I'm gonna try to fix it, even though it's probably bad practice |
Look at MethodHandle, it might be helpful. It might not be doable, only the name of the method is available at parse time, and methods can have the same names with different arguments. |
well it doesn't give errors, but I don't think it's a great solution, as mirror will need the parameter amount and each type, but it could be done anyway (with seperate syntax) for btk5h/skript-mirror#99 which then can be used if you come across this error. |
Reopening, not because I'm going to fix it, but because I gotta rethrow the exception to include more context (which class' members are being looked up, etc) |
SkriptLang/Skript#3051
find out what Java standards are on this, because I probably won't support it if is deemed bad practice.
error is because mirror uses
getMethods()
instead ofgetMethod(String name)
The text was updated successfully, but these errors were encountered: