Class ParserAnnotation


  • public class ParserAnnotation
    extends ParseBase
    ParserAnnotation ParserAnnotation is a parser class owned by Parser.java. It is primarily responsible for parsing Annotations (for classes, methods or fields). ParserAnnotation can parse the different types of Annotation Attributes: Runtime(In)Visible Annotations (JDK 6+) Default Annotations (JDK 6+) Runtime(In)VisibleParameter Annotations (JDK 7+) Runtime(In)VisibleType Annotations (JSR308, JDK8+)
    • Constructor Detail

      • ParserAnnotation

        protected ParserAnnotation​(Scanner scanner,
                                   org.openjdk.asmtools.jasm.Parser parser,
                                   Environment env)
    • Method Detail

      • scanParamName

        protected void scanParamName​(int totalParams,
                                     int paramNum,
                                     org.openjdk.asmtools.jasm.MethodData curMethod)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • parseParamAnnots

        protected void parseParamAnnots​(int _totalParams,
                                        org.openjdk.asmtools.jasm.MethodData curMethod)
                                 throws Scanner.SyntaxError,
                                        java.io.IOException
        parseParamAnnots Parses Parameter Annotations attributes.
        Parameters:
        _totalParams -
        curMethod -
        Throws:
        Scanner.SyntaxError
        java.io.IOException