MCPcopy Create free account
hub / github.com/GraxCode/zelixkiller / visitMethod

Method visitMethod

src/me/lpk/analysis/Sandbox.java:413–421  ·  view source on GitHub ↗
(int access, String name, String desc, String signature, String[] exceptions)

Source from the content-addressed store, hash-verified

411 }
412
413 @Override
414 public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions) {
415 if (name.startsWith("<c")) {
416 // We DO NOT want static blocks.
417 return null;
418 }
419 access = AccessHelper.isPublic(access) ? access : access | Opcodes.ACC_PUBLIC;
420 return super.visitMethod(access, name, desc, signature, exceptions);
421 }
422
423 @Override
424 public void visit(int version, int access, String name, String signature, String superName, String[] interfaces) {

Callers

nothing calls this directly

Calls 1

isPublicMethod · 0.95

Tested by

no test coverage detected