Class EclipseAnnotationConvertor

java.lang.Object
org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor

public class EclipseAnnotationConvertor extends Object
  • Constructor Details

    • EclipseAnnotationConvertor

      public EclipseAnnotationConvertor()
  • Method Details

    • convertEclipseAnnotation

      public static AnnotationAJ convertEclipseAnnotation​(Annotation eclipseAnnotation, World w, EclipseFactory factory)
      Convert one eclipse annotation into an AnnotationX object containing an AnnotationAJ object. This code and the helper methods used by it will go *BANG* if they encounter anything not currently supported - this is safer than limping along with a malformed annotation. When the *BANG* is encountered the bug reporter should indicate the kind of annotation they were working with and this code can be enhanced to support it.
    • generateElementValueForConstantExpression

      public static AnnotationValue generateElementValueForConstantExpression​(Expression defaultValue, TypeBinding defaultValueBinding)