List<Location> (final String stratum, String string1, int line) { if (myLine2Locations == null) { myLine2Locations = new HashMap<>(); final ClassReader reader = myVirtualMachine.getReader(myType); reader.accept(new ClassVisitor(Opcodes.API_VERSION) { @Override public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions) { final List<Method> methods = MockReferenceType.this.methodsByName(name, desc); if (methods.isEmpty()) { return super.visitMethod(access, name, desc, signature, exceptions); } return new LineNumbersEvaluatingVisitor(stratum, methods.get(0)); } }, 0); } return myLine2Locations.get(line); }