Package org.netbeans.gradle.model.api

Examples of org.netbeans.gradle.model.api.ModelClassPathDef


        ExceptionHelper.checkNotNullArgument(builder, "builder");

        ClassLoader classLoader = builder.getClass().getClassLoader();
        File classPath = ModelClassPathDef.getClassPathOfClass(builder.getClass());

        final ModelClassPathDef classPathDef = ModelClassPathDef.isImplicitlyAssumed(classPath)
                ? ModelClassPathDef.EMPTY
                : ModelClassPathDef.fromJarFiles(classLoader, Collections.singleton(classPath));

        return new GradleProjectInfoQuery<T>() {
            @Override
View Full Code Here


            }
        });
    }

    private ClassLoader getClassLoaderForKey(KeyWrapper key) {
        ModelClassPathDef classpathDef = classpath.get(key);
        return classpathDef != null
                ? classpathDef.getClassLoader()
                : null;
    }
View Full Code Here

TOP

Related Classes of org.netbeans.gradle.model.api.ModelClassPathDef

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.