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

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

Best Java code snippets using aQute.bnd.osgi.Clazz.parseReference (Showing top 6 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/bnd

/**
 * Parse a sequence of references. A sequence ends with a given character or
 * when the string ends.
 * 
 * @param descriptor
 *            The whole descriptor.
 * @param rover
 *            The index in the descriptor
 * @param delimiter
 *            The end character or 0
 * @return the last index processed, one character after the delimeter
 */
int parseReferences(String descriptor, int rover, char delimiter, int modifiers) {
  int r = rover;
  while (r < descriptor.length() && descriptor.charAt(r) != delimiter) {
    r = parseReference(descriptor, r, modifiers);
  }
  return r;
}
origin: biz.aQute/bndlib

/**
 * Parse a sequence of references. A sequence ends with a given character or
 * when the string ends.
 * 
 * @param descriptor
 *            The whole descriptor.
 * @param rover
 *            The index in the descriptor
 * @param delimiter
 *            The end character or 0
 * @return the last index processed, one character after the delimeter
 */
int parseReferences(String descriptor, int rover, char delimiter, int modifiers) {
  int r = rover;
  while (r < descriptor.length() && descriptor.charAt(r) != delimiter) {
    r = parseReference(descriptor, r, modifiers);
  }
  return r;
}
origin: biz.aQute.bnd/bndlib

/**
 * Parse a sequence of references. A sequence ends with a given character or
 * when the string ends.
 * 
 * @param descriptor
 *            The whole descriptor.
 * @param rover
 *            The index in the descriptor
 * @param delimiter
 *            The end character or 0
 * @return the last index processed, one character after the delimeter
 */
int parseReferences(String descriptor, int rover, char delimiter, int modifiers) {
  int r = rover;
  while (r < descriptor.length() && descriptor.charAt(r) != delimiter) {
    r = parseReference(descriptor, r, modifiers);
  }
  return r;
}
origin: biz.aQute/bndlib

index = parseReference(descriptor, index, modifiers); // class
index = parseReference(descriptor, index, modifiers);
c = descriptor.charAt(index);
origin: biz.aQute.bnd/bndlib

index = parseReference(descriptor, index, modifiers); // class
index = parseReference(descriptor, index, modifiers);
c = descriptor.charAt(index);
origin: biz.aQute.bnd/bnd

index = parseReference(descriptor, index, modifiers); // class
index = parseReference(descriptor, index, modifiers);
c = descriptor.charAt(index);
aQute.bnd.osgiClazzparseReference

Javadoc

Parse a single reference. This can be a single character or an object reference when it starts with 'L'.

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

  • Reading from database using SQL prepared statement
  • getExternalFilesDir (Context)
  • getApplicationContext (Context)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Option (scala)
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