Example usage for org.apache.commons.bcel6.util SyntheticRepository getInstance

List of usage examples for org.apache.commons.bcel6.util SyntheticRepository getInstance

Introduction

In this page you can find the example usage for org.apache.commons.bcel6.util SyntheticRepository getInstance.

Prototype

public static SyntheticRepository getInstance(ClassPath classPath) 

Source Link

Usage

From source file:ru.objective.jni.utils.OJNIClassLoader.java

public void setClassPaths(ClassPath[] classPaths) {
    cpRepositories = new SyntheticRepository[classPaths.length];

    for (int i = 0; i < cpRepositories.length; i++) {
        cpRepositories[i] = SyntheticRepository.getInstance(classPaths[i]);
    }//from w w w .j  a  v  a2  s. c  o m
}