Java com.google.common.reflect Invokable fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.reflect Invokable fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.reflect Invokable.

The text is from its open source code.

Method

Invokablefrom(Method method)
Returns Invokable of method .
Invokablefrom(Constructor constructor)
Returns Invokable of constructor .
TgetAnnotation(Class annotationClass)
Returns this element's annotation for the specified type if such an annotation is present, else null.
Annotation[]getAnnotations()
Returns annotations that are present on this element.
ClassgetDeclaringClass()
ImmutableList>getExceptionTypes()
Returns all declared exception types of this Invokable .
TypeTokengetOwnerType()
Returns the type of T .
ImmutableListgetParameters()
Returns all declared parameters of this Invokable .
TypeTokengetReturnType()
Returns the return type of this Invokable .
Rinvoke(@Nullable T receiver, Object... args)
Invokes with receiver as 'this' and args passed to the underlying method and returns the return value; or calls the underlying constructor with args and returns the constructed instance.
booleanisAnnotationPresent(Class annotationClass)
Returns true if an annotation for the specified type is present on this element, else false.
booleanisVarArgs()
Returns true if this was declared to take a variable number of arguments.
StringtoString()
Returns a string representation of the object.