OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:wrappedresulttype
(Results
1 - 1
of
1
) sorted by null
/external/caliper/caliper/src/main/java/com/google/caliper/util/
Parsers.java
55
final Class<T>
wrappedResultType
= Primitives.wrap(resultType);
59
final Method method =
wrappedResultType
.getDeclaredMethod(methodName, String.class);
61
if (Util.isStatic(method) &&
wrappedResultType
.isAssignableFrom(method.getReturnType())) {
65
return
wrappedResultType
.cast(method.invoke(null, input));
73
final Constructor<T> constr =
wrappedResultType
.getDeclaredConstructor(String.class);
77
return
wrappedResultType
.cast(constr.newInstance(input));
Completed in 56 milliseconds