org.aspectj.ajdt.internal.compiler.lookup
Class EclipseAnnotationConvertor
java.lang.Object
org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor
public class EclipseAnnotationConvertor
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EclipseAnnotationConvertor
public EclipseAnnotationConvertor()
convertEclipseAnnotation
public static AnnotationAJ convertEclipseAnnotation(org.aspectj.org.eclipse.jdt.internal.compiler.ast.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(org.aspectj.org.eclipse.jdt.internal.compiler.ast.Expression defaultValue,
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding defaultValueBinding)