Codota Logo
Clazz.isAnnotation
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain Clazz
private void myMethod () {
Clazz c =
  • Codota IconQute.bnd.osgi.Analyzer analyzer;Qute.bnd.osgi.Descriptors.TypeRef typeRef;analyzer.findClass(typeRef)
  • Codota IconQute.bnd.osgi.Analyzer analyzer;String path;Qute.bnd.osgi.Resource resource;new Clazz(analyzer, path, resource)
  • Codota IconQute.bnd.osgi.Analyzer analyzer;String str;new Clazz(analyzer, str, null)
  • Smart code suggestions by Codota
}
origin: biz.aQute.bnd/biz.aQute.bndlib

@Override
public boolean classStart(Clazz c) {
  //
  // Parse any annotated classes except annotations
  //
  if (!c.isAnnotation() && c.annotations != null) {
    current = c;
    return true;
  }
  current = null;
  return false;
}
origin: biz.aQute.bnd/biz.aQute.bnd

@Override
public boolean classStart(Clazz c) {
  //
  // Parse any annotated classes except annotations
  //
  if (!c.isAnnotation() && c.annotations != null) {
    current = c;
    return true;
  }
  current = null;
  return false;
}
origin: biz.aQute.bnd/bndlib

if (!c.isAnnotation()) {
  if (c.annotations != null)
origin: biz.aQute.bnd/bnd

if (!c.isAnnotation()) {
  if (c.annotations != null)
origin: biz.aQute.bnd/biz.aQute.bndlib

@Override
public void method(MethodDef defined) {
  if (defined.isStatic()) {
    current = null;
    return;
  }
  current = new ADDef(finder);
  methods.put(defined, current);
  if (clazz.isAnnotation()) {
    if (defined.getName()
      .equals("value")) {
      hasValue = true;
    } else {
      hasNoDefault++;
    }
  }
}
origin: biz.aQute.bnd/biz.aQute.bnd

@Override
public void method(MethodDef defined) {
  if (defined.isStatic()) {
    current = null;
    return;
  }
  current = new ADDef(finder);
  methods.put(defined, current);
  if (clazz.isAnnotation()) {
    if (defined.getName()
      .equals("value")) {
      hasValue = true;
    } else {
      hasNoDefault++;
    }
  }
}
origin: apache/felix

try {
  Clazz clazz = m_analyzer.findClass(typeRef);
  if (! clazz.isAnnotation() && ! clazz.isInterface()) {
    m_logger.debug("ignoring updated callback signature %s (argument type not an interface or an annotation", callbackDescriptor);
    continue;
origin: biz.aQute.bnd/biz.aQute.bndlib

try {
  Clazz r = analyzer.findClass(type);
  if (r.isAnnotation()) {
    analyzer.warning("Nested annotation type found in field %s, %s", defined.getName(),
      type.getFQN());
origin: biz.aQute.bnd/biz.aQute.bnd

try {
  Clazz r = analyzer.findClass(type);
  if (r.isAnnotation()) {
    analyzer.warning("Nested annotation type found in field %s, %s", defined.getName(),
      type.getFQN());
origin: biz.aQute.bnd/bnd

try {
  Clazz r = analyzer.findClass(type);
  if (r.isAnnotation()) {
    analyzer.warning("Nested annotation type found in field % s, %s", defined.getName(), type.getFQN());
    return;
origin: biz.aQute.bnd/bndlib

try {
  Clazz r = analyzer.findClass(type);
  if (r.isAnnotation()) {
    analyzer.warning("Nested annotation type found in field % s, %s", defined.getName(), type.getFQN());
    return;
origin: biz.aQute.bnd/biz.aQute.bndlib

private List<BeanDef> getDefs() throws Exception {
  if (clazz.isEnum() || clazz.isInterface() || clazz.isAnnotation()) {
origin: biz.aQute.bnd/biz.aQute.bnd

private List<BeanDef> getDefs() throws Exception {
  if (clazz.isEnum() || clazz.isInterface() || clazz.isAnnotation()) {
origin: biz.aQute.bnd/biz.aQute.bndlib

try {
  Clazz clazz = analyzer.findClass(typeRef);
  if (clazz.isAnnotation()) {
    component.updateVersion(V1_3);
    clazz.parseClassFileWithCollector(
origin: apache/felix

try {
  Clazz r = m_analyzer.findClass(type);
  if (r.isAnnotation()) {
    m_logger.warn("Nested annotation type found in member %s, %s",
        defined.getName(), type.getFQN());
origin: biz.aQute.bnd/biz.aQute.bnd

try {
  Clazz clazz = analyzer.findClass(typeRef);
  if (clazz.isAnnotation()) {
    component.updateVersion(V1_3);
    clazz.parseClassFileWithCollector(
origin: biz.aQute.bnd/biz.aQute.bndlib

try {
  Clazz r = analyzer.findClass(type);
  if (r.isAnnotation()) {
    analyzer
      .warning("Nested annotation type found in member %s, %s", name,
origin: biz.aQute.bnd/biz.aQute.bnd

try {
  Clazz r = analyzer.findClass(type);
  if (r.isAnnotation()) {
    analyzer
      .warning("Nested annotation type found in member %s, %s", name,
origin: biz.aQute.bnd/biz.aQute.bndlib

private ComponentDef getDef() throws Exception {
  if (clazz.isEnum() || clazz.isInterface() || clazz.isAnnotation()) {
origin: biz.aQute.bnd/biz.aQute.bnd

private ComponentDef getDef() throws Exception {
  if (clazz.isEnum() || clazz.isInterface() || clazz.isAnnotation()) {
aQute.bnd.osgiClazzisAnnotation

Popular methods of Clazz

  • <init>
  • parseClassFileWithCollector
  • getClassName
  • getFQN
  • getReferred
  • is
  • isInterface
  • crawl
    We must find Class.forName references ...
  • doAnnotation
  • 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

  • Running tasks concurrently on multiple threads
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSharedPreferences (Context)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Hashtable (java.util)
    Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • Join (org.hibernate.mapping)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now