Class GenericSignatureParser

java.lang.Object
org.aspectj.util.GenericSignatureParser

public class GenericSignatureParser extends Object
Parses the generic signature attribute as defined in the JVM spec.
Author:
Adrian Colyer, Andy Clement
  • Constructor Details

    • GenericSignatureParser

      public GenericSignatureParser()
  • Method Details

    • parseAsClassSignature

      public GenericSignature.ClassSignature parseAsClassSignature(String sig)
      AMC. Parse the signature string interpreting it as a ClassSignature according to the grammar defined in Section 4.4.4 of the JVM specification.
    • parseAsMethodSignature

      public GenericSignature.MethodTypeSignature parseAsMethodSignature(String sig)
      AMC. Parse the signature string interpreting it as a MethodTypeSignature according to the grammar defined in Section 4.4.4 of the JVM specification.
    • parseAsFieldSignature

      public GenericSignature.FieldTypeSignature parseAsFieldSignature(String sig)
      AMC. Parse the signature string interpreting it as a FieldTypeSignature according to the grammar defined in Section 4.4.4 of the JVM specification.
    • tokenize

      public String[] tokenize(String signatureString)
      non-private for test visibility Splits a string containing a generic signature into tokens for consumption by the parser.