protected void visitNonImportedMethodInsn()

in modules/privilizer/weaver/src/main/java/org/apache/commons/weaver/privilizer/BlueprintingVisitor.java [359:369]


        protected void visitNonImportedMethodInsn(final int opcode, final String owner, final String name,
            final String desc, final boolean itf) {
            final Type ownerType = Type.getObjectType(owner);
            final Method method = new Method(name, desc);

            if (!isAccessible(ownerType) || !isAccessible(ownerType, method)) {
                throw new IllegalStateException(String.format("Blueprint method %s.%s calls inaccessible method %s.%s",
                    this.owner, methodKey.getRight(), owner, method));
            }
            super.visitNonImportedMethodInsn(opcode, owner, name, desc, itf);
        }