Package | Description |
---|---|
com.google.common.reflect |
This package contains utilities to work with Java reflection.
|
Modifier and Type | Method and Description |
---|---|
Invokable<T,T> |
TypeToken.constructor(Constructor<?> constructor)
|
static <T> Invokable<T,T> |
Invokable.from(Constructor<T> constructor)
Returns
Invokable of constructor . |
static Invokable<?,Object> |
Invokable.from(Method method)
Returns
Invokable of method . |
Invokable<?,?> |
Parameter.getDeclaringInvokable()
Returns the
Invokable that declares this parameter. |
Invokable<T,Object> |
TypeToken.method(Method method)
|
<R1 extends R> |
Invokable.returning(Class<R1> returnType)
Explicitly specifies the return type of this
Invokable . |
<R1 extends R> |
Invokable.returning(TypeToken<R1> returnType)
Explicitly specifies the return type of this
Invokable . |
Copyright © 2010-2017. All Rights Reserved.