MCPcopy Create free account
hub / github.com/antlr/codebuff / typeName

Method typeName

output/java_guava/1.4.17/Types.java:603–615  ·  view source on GitHub ↗
(Type type)

Source from the content-addressed store, hash-verified

601 }
602
603 @Override
604 String typeName(Type type) {
605 try {
606 Method getTypeName = Type.class.getMethod("getTypeName");
607 return (String) getTypeName.invoke(type);
608 } catch (NoSuchMethodException e) {
609 throw new AssertionError("Type.getTypeName should be available in Java 8");
610 } catch (InvocationTargetException e) {
611 throw new RuntimeException(e);
612 } catch (IllegalAccessException e) {
613 throw new RuntimeException(e);
614 }
615 }
616 };
617
618

Callers 3

applyMethod · 0.45
toStringMethod · 0.45
toStringMethod · 0.45

Calls 2

toStringMethod · 0.95
invokeMethod · 0.45

Tested by

no test coverage detected