Tabnine Logo
Clazz.parseReference
Code IndexAdd Tabnine 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)

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
  • runOnUiThread (Activity)
  • startActivity (Activity)
  • getResourceAsStream (ClassLoader)
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Top plugins for Android Studio
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