congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Clazz.parseDescriptor
Code IndexAdd Tabnine to your IDE (free)

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

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

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

void referTo(int index, int modifiers) {
  String descriptor = (String) pool[index];
  parseDescriptor(descriptor, modifiers);
}
origin: biz.aQute.bnd/biz.aQute.bnd

void referTo(int index, int modifiers) {
  String descriptor = (String) pool[index];
  parseDescriptor(descriptor, modifiers);
}
origin: biz.aQute/bndlib

void referTo(int index, int modifiers) {
  String descriptor = (String) pool[index];
  parseDescriptor(descriptor, modifiers);
}
origin: biz.aQute.bnd/bndlib

void referTo(int index, int modifiers) {
  String descriptor = (String) pool[index];
  parseDescriptor(descriptor, modifiers);
}
origin: biz.aQute.bnd/bnd

void referTo(int index, int modifiers) {
  String descriptor = (String) pool[index];
  parseDescriptor(descriptor, modifiers);
}
origin: biz.aQute/bndlib

/**
 * Handle a signature
 * 
 * <pre>
 * Signature_attribute { 
 *     u2 attribute_name_index; 
 *     u4 attribute_length; 
 *     u2 signature_index; 
 *     }
 * </pre>
 * 
 * @param member
 * @param access_flags
 */
void doSignature(DataInputStream in, ElementType member, int access_flags) throws IOException {
  int signature_index = in.readUnsignedShort();
  String signature = (String) pool[signature_index];
  parseDescriptor(signature, access_flags);
  if (last != null)
    last.signature = signature;
  if (cd != null)
    cd.signature(signature);
}
origin: biz.aQute.bnd/bnd

/**
 * Handle a signature
 * 
 * <pre>
 * Signature_attribute { 
 *     u2 attribute_name_index; 
 *     u4 attribute_length; 
 *     u2 signature_index; 
 *     }
 * </pre>
 * 
 * @param member
 * @param access_flags
 */
void doSignature(DataInputStream in, ElementType member, int access_flags) throws IOException {
  int signature_index = in.readUnsignedShort();
  String signature = (String) pool[signature_index];
  try {
    parseDescriptor(signature, access_flags);
    if (last != null)
      last.signature = signature;
    if (cd != null)
      cd.signature(signature);
  }
  catch (Exception e) {
    new RuntimeException("Signature failed for" + signature, e);
  }
}
origin: biz.aQute.bnd/bndlib

/**
 * Handle a signature
 * 
 * <pre>
 * Signature_attribute { 
 *     u2 attribute_name_index; 
 *     u4 attribute_length; 
 *     u2 signature_index; 
 *     }
 * </pre>
 * 
 * @param member
 * @param access_flags
 */
void doSignature(DataInputStream in, ElementType member, int access_flags) throws IOException {
  int signature_index = in.readUnsignedShort();
  String signature = (String) pool[signature_index];
  try {
    parseDescriptor(signature, access_flags);
    if (last != null)
      last.signature = signature;
    if (cd != null)
      cd.signature(signature);
  }
  catch (Exception e) {
    new RuntimeException("Signature failed for" + signature, e);
  }
}
aQute.bnd.osgiClazzparseDescriptor

Javadoc

This method parses method or field descriptors and calls #referTo(TypeRef,int) for any types found therein.

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

  • Running tasks concurrently on multiple threads
  • startActivity (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Best IntelliJ 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