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

Method typeName

output/java_guava/1.4.19/Types.java:602–614  ·  view source on GitHub ↗
(Type type)

Source from the content-addressed store, hash-verified

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

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