MCPcopy Create free account
hub / github.com/QuiltMC/chasm / getClassInfo

Method getClassInfo

chasm/src/test/java/org/quiltmc/chasm/TestsBase.java:59–66  ·  view source on GitHub ↗
(String className)

Source from the content-addressed store, hash-verified

57 // Instantiate the processor
58 processor = new ChasmProcessor(new Context() {
59 @Override
60 public @Nullable ClassInfo getClassInfo(String className) {
61 try {
62 return ClassInfo.fromClass(Class.forName(className, false, getClass().getClassLoader()));
63 } catch (ClassNotFoundException e) {
64 return null;
65 }
66 }
67
68 @Override
69 public byte @Nullable [] readFile(String path) {

Callers

nothing calls this directly

Calls 2

fromClassMethod · 0.95
getClassMethod · 0.80

Tested by

no test coverage detected