public final class TypeExctractor extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
GET_REQUEST_PROTOTYPE_METHODNAME |
static String |
GET_RESPONSE_PROTOTYPE_METHODNAME |
| Modifier and Type | Method and Description |
|---|---|
static com.google.protobuf.Message |
applyMethodToMethodDescriptor(Object instance,
Method method,
com.google.protobuf.Descriptors.MethodDescriptor md) |
static Method |
findMethod(Class clazz,
String methodName) |
static Method |
findMethod(Method[] methods,
String methodName) |
static com.google.protobuf.Message |
getReqestPrototype(Object instance,
com.google.protobuf.Descriptors.MethodDescriptor md) |
static com.google.protobuf.Message |
getResponsePrototype(Object instance,
com.google.protobuf.Descriptors.MethodDescriptor md) |
public static final String GET_RESPONSE_PROTOTYPE_METHODNAME
public static final String GET_REQUEST_PROTOTYPE_METHODNAME
public static com.google.protobuf.Message getReqestPrototype(Object instance, com.google.protobuf.Descriptors.MethodDescriptor md) throws MethodTypeException
MethodTypeExceptionpublic static com.google.protobuf.Message getResponsePrototype(Object instance, com.google.protobuf.Descriptors.MethodDescriptor md) throws MethodTypeException
MethodTypeExceptionpublic static com.google.protobuf.Message applyMethodToMethodDescriptor(Object instance, Method method, com.google.protobuf.Descriptors.MethodDescriptor md) throws MethodTypeException
MethodTypeExceptionCopyright © 2013. All Rights Reserved.