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

How to use
AssignableToPackageScanFilter
in
cn.bestwu.simpleframework.support.packagescan

Best Java code snippets using cn.bestwu.simpleframework.support.packagescan.AssignableToPackageScanFilter (Showing top 2 results out of 315)

origin: cn.bestwu.simpleframework/simpleframework-web

public Set<Class<?>> findImplementations(Class parent, String... packageNames) {
 if (packageNames == null) {
  return Collections.emptySet();
 }
 log.debug("Searching for implementations of " + parent.getName() + " in packages: " + Arrays
   .asList(packageNames));
 PackageScanFilter test = getCompositeFilter(new AssignableToPackageScanFilter(parent));
 return findByFilter(test, packageNames);
}
origin: cn.bestwu.simpleframework/simpleframework-core

public Set<Class<?>> findImplementations(Class parent, String... packageNames) {
 if (packageNames == null) {
  return Collections.emptySet();
 }
 log.debug("Searching for implementations of " + parent.getName() + " in packages: " + Arrays
   .asList(packageNames));
 PackageScanFilter test = getCompositeFilter(new AssignableToPackageScanFilter(parent));
 Set<Class<?>> classes = new LinkedHashSet<>();
 for (String pkg : packageNames) {
  find(test, pkg, classes);
 }
 log.debug("Found: " + classes);
 return classes;
}
cn.bestwu.simpleframework.support.packagescanAssignableToPackageScanFilter

Javadoc

Package scan filter for testing if a given class is assignable to another class.

Most used methods

  • <init>

Popular in Java

  • Making http requests using okhttp
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getContentResolver (Context)
  • putExtra (Intent)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top Sublime Text 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