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

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

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

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

@Override
public boolean classStart(Clazz clazz) {
  this.clazz = clazz;
  this.name = clazz.getClassName();
  return true;
}
origin: biz.aQute.bnd/biz.aQute.bnd

@Override
public boolean classStart(Clazz clazz) {
  this.clazz = clazz;
  this.name = clazz.getClassName();
  return true;
}
origin: biz.aQute.bnd/biz.aQute.bndlib

public TypeRef getContainingClass() {
  return getClassName();
}
origin: biz.aQute/bndlib

public TypeRef getContainingClass() {
  return getClassName();
}
origin: biz.aQute.bnd/bndlib

public TypeRef getContainingClass() {
  return getClassName();
}
origin: biz.aQute.bnd/biz.aQute.bnd

public TypeRef getContainingClass() {
  return getClassName();
}
origin: biz.aQute.bnd/bnd

public TypeRef getContainingClass() {
  return getClassName();
}
origin: biz.aQute.bnd/biz.aQute.bndlib

/**
 * Return the classes for a given source package.
 * 
 * @param source the source package
 * @return a set of classes for the requested package.
 */
public Set<Clazz> getClassspace(PackageRef source) {
  Set<Clazz> result = new HashSet<>();
  for (Clazz c : getClassspace().values()) {
    if (c.getClassName()
      .getPackageRef() == source)
      result.add(c);
  }
  return result;
}
origin: biz.aQute/bndlib

/**
 * Return the classes for a given source package.
 * 
 * @param source
 *            the source package
 * @return a set of classes for the requested package.
 */
public Set<Clazz> getClassspace(PackageRef source) {
  Set<Clazz> result = new HashSet<Clazz>();
  for (Clazz c : getClassspace().values()) {
    if (c.getClassName().getPackageRef() == source)
      result.add(c);
  }
  return result;
}
origin: biz.aQute.bnd/bnd

/**
 * Return the classes for a given source package.
 * 
 * @param source
 *            the source package
 * @return a set of classes for the requested package.
 */
public Set<Clazz> getClassspace(PackageRef source) {
  Set<Clazz> result = new HashSet<Clazz>();
  for (Clazz c : getClassspace().values()) {
    if (c.getClassName().getPackageRef() == source)
      result.add(c);
  }
  return result;
}
origin: biz.aQute.bnd/bndlib

/**
 * Return the classes for a given source package.
 * 
 * @param source
 *            the source package
 * @return a set of classes for the requested package.
 */
public Set<Clazz> getClassspace(PackageRef source) {
  Set<Clazz> result = new HashSet<Clazz>();
  for (Clazz c : getClassspace().values()) {
    if (c.getClassName().getPackageRef() == source)
      result.add(c);
  }
  return result;
}
origin: biz.aQute.bnd/biz.aQute.bnd

/**
 * Return the classes for a given source package.
 * 
 * @param source the source package
 * @return a set of classes for the requested package.
 */
public Set<Clazz> getClassspace(PackageRef source) {
  Set<Clazz> result = new HashSet<>();
  for (Clazz c : getClassspace().values()) {
    if (c.getClassName()
      .getPackageRef() == source)
      result.add(c);
  }
  return result;
}
origin: biz.aQute.bnd/biz.aQute.bndlib

void doComponent(Annotation a, Component c) {
  pids = a.containsKey("configurationPid") ? c.configurationPid() : null;
  if (pids != null) {
    pid = pids[0];
  }
  if (pids == null || "$".equals(pid)) {
    pid = a.containsKey("name") ? c.name()
        : clazz.getClassName()
          .getFQN();
  }
}
origin: biz.aQute.bnd/biz.aQute.bnd

void doComponent(Annotation a, Component c) {
  pids = a.containsKey("configurationPid") ? c.configurationPid() : null;
  if (pids != null) {
    pid = pids[0];
  }
  if (pids == null || "$".equals(pid)) {
    pid = a.containsKey("name") ? c.name()
        : clazz.getClassName()
          .getFQN();
  }
}
origin: biz.aQute.bnd/bndlib

private void parseAndMergeInheritedMetadata(TypeRef ref, Clazz child) throws Exception {
  if (ref.isJava())
    return;
  Clazz ec = reporter.findClass(ref);
  if (ec == null) {
    reporter.error("Missing inherited class for Metatype annotations: " + ref + " from " + child.getClassName());
  } else {
    MetaTypeReader mtr = new MetaTypeReader(ec, reporter);
    mtr.setDesignate(designatePid, factory);
    mtr.finish();
    for (Map.Entry<MethodDef,Meta.AD> entry : mtr.methods.entrySet())
      addMethod(entry.getKey(), entry.getValue());
    handleInheritedClasses(ec);
  }
}
origin: biz.aQute.bnd/biz.aQute.bndlib

private void parseAndMergeInheritedMetadata(TypeRef ref, Clazz child) throws Exception {
  if (ref.isJava())
    return;
  Clazz ec = reporter.findClass(ref);
  if (ec == null) {
    reporter.error("Missing inherited class for Metatype annotations: %s from %s", ref, child.getClassName());
  } else {
    @SuppressWarnings("resource")
    MetaTypeReader mtr = new MetaTypeReader(ec, reporter);
    mtr.setDesignate(designatePid, factory);
    mtr.finish();
    for (Map.Entry<MethodDef, Annotation> entry : mtr.methods.entrySet())
      addMethod(entry.getKey(), entry.getValue());
    handleInheritedClasses(ec);
  }
}
origin: biz.aQute.bnd/bnd

private void parseAndMergeInheritedMetadata(TypeRef ref, Clazz child) throws Exception {
  if (ref.isJava())
    return;
  Clazz ec = reporter.findClass(ref);
  if (ec == null) {
    reporter.error("Missing inherited class for Metatype annotations: " + ref + " from " + child.getClassName());
  } else {
    MetaTypeReader mtr = new MetaTypeReader(ec, reporter);
    mtr.setDesignate(designatePid, factory);
    mtr.finish();
    for (Map.Entry<MethodDef,Meta.AD> entry : mtr.methods.entrySet())
      addMethod(entry.getKey(), entry.getValue());
    handleInheritedClasses(ec);
  }
}
origin: biz.aQute.bnd/biz.aQute.bnd

private void parseAndMergeInheritedMetadata(TypeRef ref, Clazz child) throws Exception {
  if (ref.isJava())
    return;
  Clazz ec = reporter.findClass(ref);
  if (ec == null) {
    reporter.error("Missing inherited class for Metatype annotations: %s from %s", ref, child.getClassName());
  } else {
    @SuppressWarnings("resource")
    MetaTypeReader mtr = new MetaTypeReader(ec, reporter);
    mtr.setDesignate(designatePid, factory);
    mtr.finish();
    for (Map.Entry<MethodDef, Annotation> entry : mtr.methods.entrySet())
      addMethod(entry.getKey(), entry.getValue());
    handleInheritedClasses(ec);
  }
}
origin: biz.aQute/bndlib

private ComponentDef getDef() throws Exception {
  clazz.parseClassFileWithCollector(this);
  if (component.implementation == null)
    return null;
  if (inherit) {
    baseclass = false;
    while (extendsClass != null) {
      if (extendsClass.isJava())
        break;
      Clazz ec = analyzer.findClass(extendsClass);
      if (ec == null) {
        analyzer.error("Missing super class for DS annotations: " + extendsClass + " from "
            + clazz.getClassName());
      } else {
        ec.parseClassFileWithCollector(this);
      }
    }
  }
  for (ReferenceDef rdef : component.references.values()) {
    rdef.unbind = referredMethod(analyzer, rdef, rdef.unbind, "add(.*)", "remove$1", "(.*)", "un$1");
    rdef.updated = referredMethod(analyzer, rdef, rdef.updated, "(add|set|bind)(.*)", "updated$2", "(.*)",
        "updated$1");
  }
  return component;
}
origin: biz.aQute.bnd/bndlib

public void annotation(Annotation annotation) throws Exception {
  TypeRef name = annotation.getName();
  if (interesting.contains(name)) {
    if (name == bundleLicenseRef)
      doLicense(annotation.getAnnotation(BundleLicense.class));
    else if (name == requireCapabilityRef)
      doRequireCapability(annotation.getAnnotation(RequireCapability.class));
    else if (name == provideCapabilityRef)
      doProvideCapability(annotation.getAnnotation(ProvideCapability.class));
    else if (name == bundleCategoryRef)
      doBundleCategory(annotation.getAnnotation(BundleCategory.class));
    else if (name == bundleDocURLRef)
      doBundleDocURL(annotation.getAnnotation(BundleDocURL.class));
    else if (name == bundleDeveloperRef)
      doBundleDevelopers(annotation.getAnnotation(BundleDevelopers.class));
    else if (name == bundleContributorRef)
      doBundleContributors(annotation.getAnnotation(BundleContributors.class));
    else if (name == bundleCopyrightRef)
      doBundeCopyright(annotation.getAnnotation(BundleCopyright.class));
    else
      analyzer.error("Unknon annotation %s on %s", name, current.getClassName());
  }
}
aQute.bnd.osgiClazzgetClassName

Popular methods of Clazz

  • <init>
  • parseClassFileWithCollector
  • getFQN
  • getReferred
  • is
  • isAnnotation
  • 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

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • findViewById (Activity)
  • startActivity (Activity)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Notification (javax.management)
  • Runner (org.openjdk.jmh.runner)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • 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