MCPcopy Create free account
hub / github.com/VolmitSoftware/Adapt / get

Method get

src/main/java/com/volmit/adapt/util/V.java:51–61  ·  view source on GitHub ↗
(Class<? extends T> t)

Source from the content-addressed store, hash-verified

49 }
50
51 public <T extends Annotation> T get(Class<? extends T> t) {
52 try {
53 return local ? Violator.getDeclaredAnnotation(o.getClass(), t) : Violator.getAnnotation(o.getClass(), t);
54 } catch (Throwable e) {
55 if (!suppress) {
56 e.printStackTrace();
57 }
58 }
59
60 return null;
61 }
62
63 public <T extends Annotation> T get(Class<? extends T> t, String mn, Class<?>... pars) {
64 try {

Callers

nothing calls this directly

Calls 7

getDeclaredAnnotationMethod · 0.95
getAnnotationMethod · 0.95
getDeclaredMethodMethod · 0.95
getMethodMethod · 0.95
getDeclaredFieldMethod · 0.95
getFieldMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected