-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overload JavaClass.getConstructor() and JavaClass.getMethod()
This commit adds the methods JavaClass.getConstructor(String... parameters) JavaClass.getMethod(String name, String... parameters) JavaClass.tryGetMethod(String name, String... parameters) to retrieve constructors/methods even if a parameter type is not present on the classpath. The methods JavaClass.getConstructor() JavaClass.getMethod(String name) JavaClass.tryGetMethod(String name) to retrieve constructors/methods without parameters where added to avoid ambiguous method calls. Resolves #236 Signed-off-by: Roland Weisleder <[email protected]>
- Loading branch information
1 parent
6b06a20
commit 3ad46b7
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters