public interface JavaMethod
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | JavaMethod.ForLoadedConstructorRepresents a constructor that can be invoked. | 
| static class  | JavaMethod.ForLoadedMethodRepresents a method that can be invoked. | 
| static class  | JavaMethod.ForUnavailableMethodRepresents a method that cannot be invoked. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | invoke(Object instance,
      Object... argument)Invokes this method. | 
| Object | invokeStatic(Object... argument)Invokes a static method. | 
| boolean | isInvokable()Checks if this method is invokable on the current version of the Java virtual machine. | 
boolean isInvokable()
true if this method is invokable.Object invoke(Object instance, Object... argument)
instance - The instance on which the method is to be invoked.argument - The arguments for this method.Copyright © 2014–2015. All rights reserved.