Class ExternalAnnotationProvider

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ExternalAnnotationProvider

public class ExternalAnnotationProvider extends Object
  • Field Details

    • ANNOTATION_FILE_EXTENSION

      public static final String ANNOTATION_FILE_EXTENSION
      See Also:
    • CLASS_PREFIX

      public static final String CLASS_PREFIX
      See Also:
    • SUPER_PREFIX

      public static final String SUPER_PREFIX
      See Also:
    • NULLABLE

      public static final char NULLABLE
      Representation of a 'nullable' annotation, independent of the concrete annotation name used in Java sources.
      See Also:
    • NONNULL

      public static final char NONNULL
      Representation of a 'nonnull' annotation, independent of the concrete annotation name used in Java sources.
      See Also:
    • NO_ANNOTATION

      public static final char NO_ANNOTATION
      Represents absence of a null annotation. Useful for removing an existing null annotation. This character is used only internally, it is not part of the Eclipse External Annotation file format.
      See Also:
    • ANNOTATION_FILE_SUFFIX

      public static final String ANNOTATION_FILE_SUFFIX
      See Also:
  • Constructor Details

    • ExternalAnnotationProvider

      public ExternalAnnotationProvider(InputStream input, String typeName) throws IOException
      Create and initialize.
      Parameters:
      input - open input stream to read the annotations from, will be closed by the constructor.
      typeName - slash-separated qualified name of a type
      Throws:
      IOException - various issues when accessing the annotation file
  • Method Details