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

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

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

origin: com.buschmais.jqassistant.plugin/java

@Override
public boolean accepts(Class<?> item, String path, Scope scope) throws IOException {
  return CLASSPATH.equals(scope);
}
origin: com.buschmais.jqassistant.plugin/java

@Override
public String getName() {
  return name();
}
origin: com.buschmais.jqassistant.plugin/java

@Override
public boolean accepts(DirectoryResource item, String path, Scope scope) throws IOException {
  return (CLASSPATH.equals(scope) && path != null && !path.startsWith("/META-INF"));
}
origin: com.buschmais.jqassistant.plugin/java

@Override
public boolean accepts(FileResource item, String path, Scope scope) throws IOException {
  return CLASSPATH.equals(scope) && "/META-INF/MANIFEST.MF".equals(path);
}
origin: com.buschmais.jqassistant.plugin/jqassistant.plugin.jpa2

@Override
public boolean accepts(FileResource item, String path, Scope scope) throws IOException {
  return JavaScope.CLASSPATH.equals(scope) && "/META-INF/persistence.xml".equals(path) || "/WEB-INF/persistence.xml".equals(path);
}
origin: com.buschmais.jqassistant.plugin/java

@Override
public boolean accepts(FileResource item, String path, Scope scope) throws IOException {
  return CLASSPATH.equals(scope) && PATTERN.matcher(path).matches();
}
origin: com.buschmais.jqassistant.plugin/cdi

@Override
public boolean accepts(FileResource item, String path, Scope scope) throws IOException {
  return JavaScope.CLASSPATH.equals(scope) && ("/META-INF/beans.xml".equals(path) || "/WEB-INF/beans.xml".equals(path));
}
origin: com.buschmais.jqassistant.plugin/java

@Override
public boolean accepts(FileResource file, String path, Scope scope) throws IOException {
  if (CLASSPATH.equals(scope) && path.endsWith(".class")) {
    try (InputStream stream = file.createStream()) {
      byte[] header = new byte[CAFEBABE.length];
      int read = stream.read(header);
      return read == CAFEBABE.length && Arrays.equals(CAFEBABE, header);
    }
  }
  return false;
}
com.buschmais.jqassistant.plugin.java.api.scannerJavaScope

Javadoc

Defines the scopes for java.

Most used methods

  • equals
  • name

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSharedPreferences (Context)
  • setContentView (Activity)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Best IntelliJ plugins
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