Tabnine Logo
Clazz.doAnnotation
Code IndexAdd Tabnine to your IDE (free)

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

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

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

private void doAnnotations(DataInput in, ElementType member, RetentionPolicy policy, int access_flags)
  throws Exception {
  int num_annotations = in.readUnsignedShort(); // # of annotations
  for (int a = 0; a < num_annotations; a++) {
    if (cd == null)
      doAnnotation(in, member, policy, false, access_flags);
    else {
      Annotation annotation = doAnnotation(in, member, policy, true, access_flags);
      cd.annotation(annotation);
    }
  }
}
origin: biz.aQute.bnd/bndlib

private void doAnnotations(DataInputStream in, ElementType member, RetentionPolicy policy, int access_flags)
    throws Exception {
  int num_annotations = in.readUnsignedShort(); // # of annotations
  for (int a = 0; a < num_annotations; a++) {
    if (cd == null)
      doAnnotation(in, member, policy, false, access_flags);
    else {
      Annotation annotion = doAnnotation(in, member, policy, true, access_flags);
      cd.annotation(annotion);
    }
  }
}
origin: biz.aQute.bnd/biz.aQute.bndlib

private void doAnnotations(DataInput in, ElementType member, RetentionPolicy policy, int access_flags)
  throws Exception {
  int num_annotations = in.readUnsignedShort(); // # of annotations
  for (int a = 0; a < num_annotations; a++) {
    if (cd == null)
      doAnnotation(in, member, policy, false, access_flags);
    else {
      Annotation annotation = doAnnotation(in, member, policy, true, access_flags);
      cd.annotation(annotation);
    }
  }
}
origin: biz.aQute/bndlib

private void doAnnotations(DataInputStream in, ElementType member, RetentionPolicy policy, int access_flags)
    throws IOException {
  int num_annotations = in.readUnsignedShort(); // # of annotations
  for (int a = 0; a < num_annotations; a++) {
    if (cd == null)
      doAnnotation(in, member, policy, false, access_flags);
    else {
      Annotation annotion = doAnnotation(in, member, policy, true, access_flags);
      cd.annotation(annotion);
    }
  }
}
origin: biz.aQute.bnd/bnd

private void doAnnotations(DataInputStream in, ElementType member, RetentionPolicy policy, int access_flags)
    throws Exception {
  int num_annotations = in.readUnsignedShort(); // # of annotations
  for (int a = 0; a < num_annotations; a++) {
    if (cd == null)
      doAnnotation(in, member, policy, false, access_flags);
    else {
      Annotation annotion = doAnnotation(in, member, policy, true, access_flags);
      cd.annotation(annotion);
    }
  }
}
origin: biz.aQute.bnd/biz.aQute.bndlib

private void doParameterAnnotations(DataInput in, ElementType member, RetentionPolicy policy, int access_flags)
  throws Exception {
  boolean collect = cd != null;
  int num_parameters = in.readUnsignedByte();
  for (int p = 0; p < num_parameters; p++) {
    int num_annotations = in.readUnsignedShort(); // # of annotations
    if (num_annotations > 0) {
      if (collect) {
        cd.parameter(p);
      }
      for (int a = 0; a < num_annotations; a++) {
        Annotation annotation = doAnnotation(in, member, policy, collect, access_flags);
        if (collect) {
          cd.annotation(annotation);
        }
      }
    }
  }
}
origin: biz.aQute.bnd/biz.aQute.bnd

private void doParameterAnnotations(DataInput in, ElementType member, RetentionPolicy policy, int access_flags)
  throws Exception {
  boolean collect = cd != null;
  int num_parameters = in.readUnsignedByte();
  for (int p = 0; p < num_parameters; p++) {
    int num_annotations = in.readUnsignedShort(); // # of annotations
    if (num_annotations > 0) {
      if (collect) {
        cd.parameter(p);
      }
      for (int a = 0; a < num_annotations; a++) {
        Annotation annotation = doAnnotation(in, member, policy, collect, access_flags);
        if (collect) {
          cd.annotation(annotation);
        }
      }
    }
  }
}
origin: biz.aQute.bnd/bndlib

doAnnotation(in, member, policy, false, access_flags);
origin: biz.aQute.bnd/bnd

doAnnotation(in, member, policy, false, access_flags);
origin: biz.aQute/bndlib

return doAnnotation(in, member, policy, collect, access_flags);
origin: biz.aQute.bnd/biz.aQute.bndlib

return doAnnotation(in, member, policy, collect, access_flags);
origin: biz.aQute.bnd/biz.aQute.bnd

return doAnnotation(in, member, policy, collect, access_flags);
origin: biz.aQute.bnd/bndlib

return doAnnotation(in, member, policy, collect, access_flags);
origin: biz.aQute.bnd/bnd

return doAnnotation(in, member, policy, collect, access_flags);
origin: biz.aQute.bnd/biz.aQute.bndlib

  Annotation annotation = doAnnotation(in, member, policy, true, access_flags);
  cd.annotation(annotation);
} else {
  doAnnotation(in, member, policy, false, access_flags);
origin: biz.aQute.bnd/biz.aQute.bnd

  Annotation annotation = doAnnotation(in, member, policy, true, access_flags);
  cd.annotation(annotation);
} else {
  doAnnotation(in, member, policy, false, access_flags);
aQute.bnd.osgiClazzdoAnnotation

Javadoc

Handle annotation member default value

Popular methods of Clazz

  • <init>
  • parseClassFileWithCollector
  • getClassName
  • getFQN
  • getReferred
  • is
  • isAnnotation
  • isInterface
  • crawl
    We must find Class.forName references ...
  • doAnnotations
  • doAttribute
    Process a single attribute, if not recognized, skip it.
  • doAttributes
    Called for each attribute in the class, field, or method.
  • doAttribute,
  • doAttributes,
  • doCode,
  • doConstantValue,
  • doElementValue,
  • doEnclosingMethod,
  • doExceptions,
  • doInnerClasses,
  • doParameterAnnotations

Popular in Java

  • Reading from database using SQL prepared statement
  • startActivity (Activity)
  • findViewById (Activity)
  • getResourceAsStream (ClassLoader)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Collectors (java.util.stream)
  • Notification (javax.management)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • From CI to AI: The AI layer in your organization
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