congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Clazz.hasPublicNoArgsConstructor
Code IndexAdd Tabnine to your IDE (free)

How to use
hasPublicNoArgsConstructor
method
in
aQute.bnd.osgi.Clazz

Best Java code snippets using aQute.bnd.osgi.Clazz.hasPublicNoArgsConstructor (Showing top 10 results out of 315)

origin: biz.aQute.bnd/biz.aQute.bndlib

private boolean identifiableCollection(TypeRef type, boolean intface, boolean topLevel) {
  try {
    Clazz clazz = analyzer.findClass(type);
    if (clazz != null && (!topLevel || !clazz.isAbstract())
      && ((intface && clazz.isInterface()) ^ clazz.hasPublicNoArgsConstructor())) {
      TypeRef[] intfs = clazz.getInterfaces();
      if (intfs != null) {
        for (TypeRef intf : intfs) {
          if (COLLECTION.matcher(intf.getFQN())
            .matches() || identifiableCollection(intf, true, false)) {
            return true;
          }
        }
      }
      TypeRef ext = clazz.getSuper();
      return ext != null && identifiableCollection(ext, false, false);
    }
  } catch (Exception e) {
    return false;
  }
  return false;
}
origin: biz.aQute.bnd/biz.aQute.bnd

private boolean identifiableCollection(TypeRef type, boolean intface, boolean topLevel) {
  try {
    Clazz clazz = analyzer.findClass(type);
    if (clazz != null && (!topLevel || !clazz.isAbstract())
      && ((intface && clazz.isInterface()) ^ clazz.hasPublicNoArgsConstructor())) {
      TypeRef[] intfs = clazz.getInterfaces();
      if (intfs != null) {
        for (TypeRef intf : intfs) {
          if (COLLECTION.matcher(intf.getFQN())
            .matches() || identifiableCollection(intf, true, false)) {
            return true;
          }
        }
      }
      TypeRef ext = clazz.getSuper();
      return ext != null && identifiableCollection(ext, false, false);
    }
  } catch (Exception e) {
    return false;
  }
  return false;
}
origin: biz.aQute.bnd/biz.aQute.bndlib

return hasPublicNoArgsConstructor();
origin: biz.aQute.bnd/biz.aQute.bnd

return hasPublicNoArgsConstructor();
origin: biz.aQute.bnd/bndlib

return hasPublicNoArgsConstructor();
origin: biz.aQute.bnd/biz.aQute.bndlib

    ActivatorErrorType.NOT_PUBLIC);
if (!activatorClazz.hasPublicNoArgsConstructor()) {
  registerActivatorErrorLocation(error(
    "Bundle Activator classes must have a public zero-argument constructor and %s does not.",
origin: biz.aQute.bnd/bnd

return hasPublicNoArgsConstructor();
origin: biz.aQute.bnd/biz.aQute.bnd

    ActivatorErrorType.NOT_PUBLIC);
if (!activatorClazz.hasPublicNoArgsConstructor()) {
  registerActivatorErrorLocation(error(
    "Bundle Activator classes must have a public zero-argument constructor and %s does not.",
origin: biz.aQute.bnd/bndlib

      bactivator + " is not."), bactivator, ActivatorErrorType.NOT_PUBLIC);
if(!activatorClazz.hasPublicNoArgsConstructor()) {
  registerActivatorErrorLocation(error("Bundle Activator classes must have a public zero-argument constructor and " + 
      bactivator + " does not."), bactivator, ActivatorErrorType.NO_SUITABLE_CONSTRUCTOR);
origin: biz.aQute.bnd/bnd

      bactivator + " is not."), bactivator, ActivatorErrorType.NOT_PUBLIC);
if(!activatorClazz.hasPublicNoArgsConstructor()) {
  registerActivatorErrorLocation(error("Bundle Activator classes must have a public zero-argument constructor and " + 
      bactivator + " does not."), bactivator, ActivatorErrorType.NO_SUITABLE_CONSTRUCTOR);
aQute.bnd.osgiClazzhasPublicNoArgsConstructor

Popular methods of Clazz

  • <init>
  • parseClassFileWithCollector
  • getClassName
  • getFQN
  • getReferred
  • is
  • isAnnotation
  • isInterface
  • crawl
    We must find Class.forName references ...
  • doAnnotation
  • doAnnotations
  • doAttribute
    Process a single attribute, if not recognized, skip it.
  • doAnnotations,
  • doAttribute,
  • doAttributes,
  • doCode,
  • doConstantValue,
  • doElementValue,
  • doEnclosingMethod,
  • doExceptions,
  • doInnerClasses,
  • doParameterAnnotations

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (Timer)
  • getSystemService (Context)
  • getExternalFilesDir (Context)
  • Kernel (java.awt.image)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • String (java.lang)
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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