congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ClasspathScopedTypeResolver
Code IndexAdd Tabnine to your IDE (free)

How to use
ClasspathScopedTypeResolver
in
com.buschmais.jqassistant.plugin.java.api.scanner

Best Java code snippets using com.buschmais.jqassistant.plugin.java.api.scanner.ClasspathScopedTypeResolver (Showing top 1 results out of 315)

origin: com.buschmais.jqassistant.plugin/jqassistant.plugin.maven3

/**
 * Scan the given directory for classes and add them to an artifact.
 * 
 * @param projectDescriptor
 *            The maven project.
 * @param artifactDescriptor
 *            The artifact.
 * @param directoryName
 *            The name of the directory.
 * @param scanner
 *            The scanner.
 */
private void scanClassesDirectory(MavenProjectDirectoryDescriptor projectDescriptor, MavenArtifactDescriptor artifactDescriptor, final String directoryName,
    Scanner scanner) {
  File directory = new File(directoryName);
  if (directory.exists()) {
    JavaArtifactFileDescriptor javaArtifactFileDescriptor = scanner.getContext().getStore().addDescriptorType(artifactDescriptor,
        JavaClassesDirectoryDescriptor.class);
    ScannerContext context = scanner.getContext();
    context.push(JavaArtifactFileDescriptor.class, javaArtifactFileDescriptor);
    TypeResolver typeResolver = new ClasspathScopedTypeResolver(javaArtifactFileDescriptor);
    context.push(TypeResolver.class, typeResolver);
    try {
      scanPath(projectDescriptor, directoryName, CLASSPATH, scanner);
    } finally {
      context.pop(TypeResolver.class);
      context.pop(JavaArtifactFileDescriptor.class);
    }
  }
}
com.buschmais.jqassistant.plugin.java.api.scannerClasspathScopedTypeResolver

Most used methods

  • <init>

Popular in Java

  • Running tasks concurrently on multiple threads
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getResourceAsStream (ClassLoader)
  • findViewById (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Join (org.hibernate.mapping)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now