We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Main.groovy
static void setThreadLocalProperty(String key, Object val) { Class target = null // redacted def setter = Reflections.findMethod('setThreadLocalProperty', target, String, Object) Reflections.invokeMethod(setter, target, key, val) // semantic highlights as DGM }
Reflections.groovy
import java.lang.reflect.* class Reflections { static Method findMethod(String methodName, Class<?> targetClass, Class<?>... paramTypes) { } static Object invokeMethod(Method method, Object target, Object... params) { } }
The text was updated successfully, but these errors were encountered:
Fix for issue #512: accept more args than params for variadic methods
2faa030
- loose to exact confidence boost prevents category method precedence
ce819f7
eric-milles
No branches or pull requests
Main.groovy
Reflections.groovy
The text was updated successfully, but these errors were encountered: