Class TypeAnnotation

    • Constructor Detail

      • TypeAnnotation

        public TypeAnnotation()
        Creates an uninitialized TypeAnnotation.
      • TypeAnnotation

        public TypeAnnotation​(int u2typeIndex,
                              int u2elementValuesCount,
                              ElementValue[] elementValues,
                              TargetInfo targetInfo,
                              TypePathInfo[] typePath)
        Creates an initialized TypeAnnotation.
    • Method Detail

      • targetInfoAccept

        public void targetInfoAccept​(Clazz clazz,
                                     TargetInfoVisitor targetInfoVisitor)
        Applies the given visitor to the target info.
      • targetInfoAccept

        public void targetInfoAccept​(Clazz clazz,
                                     Field field,
                                     TargetInfoVisitor targetInfoVisitor)
        Applies the given visitor to the target info.
      • targetInfoAccept

        public void targetInfoAccept​(Clazz clazz,
                                     Method method,
                                     TargetInfoVisitor targetInfoVisitor)
        Applies the given visitor to the target info.
      • typePathInfosAccept

        public void typePathInfosAccept​(Clazz clazz,
                                        TypePathInfoVisitor typePathVisitor)
        Applies the given visitor to all type path elements.
      • typePathInfosAccept

        public void typePathInfosAccept​(Clazz clazz,
                                        Field field,
                                        TypePathInfoVisitor typePathVisitor)
        Applies the given visitor to all type path elements.
      • typePathInfosAccept

        public void typePathInfosAccept​(Clazz clazz,
                                        Method method,
                                        TypePathInfoVisitor typePathVisitor)
        Applies the given visitor to all type path elements.