Search in sources :

Example 11 with XtendAnnotationType

use of org.eclipse.xtend.core.xtend.XtendAnnotationType in project xtext-xtend by eclipse.

the class XtendValidationTest method testAnnotationTarget_07.

@Test
public void testAnnotationTarget_07() throws Exception {
    XtendAnnotationType annotationType = annotationType("@testdata.Annotation4 annotation A {}");
    helper.assertNoErrors(annotationType);
}
Also used : XtendAnnotationType(org.eclipse.xtend.core.xtend.XtendAnnotationType) Test(org.junit.Test)

Aggregations

XtendAnnotationType (org.eclipse.xtend.core.xtend.XtendAnnotationType)11 XtendClass (org.eclipse.xtend.core.xtend.XtendClass)5 Test (org.junit.Test)5 XtendEnum (org.eclipse.xtend.core.xtend.XtendEnum)4 XtendField (org.eclipse.xtend.core.xtend.XtendField)4 XtendInterface (org.eclipse.xtend.core.xtend.XtendInterface)4 EObject (org.eclipse.emf.ecore.EObject)3 RichString (org.eclipse.xtend.core.xtend.RichString)2 XtendConstructor (org.eclipse.xtend.core.xtend.XtendConstructor)2 XtendEnumLiteral (org.eclipse.xtend.core.xtend.XtendEnumLiteral)2 XtendFunction (org.eclipse.xtend.core.xtend.XtendFunction)2 XtendMember (org.eclipse.xtend.core.xtend.XtendMember)2 XtendParameter (org.eclipse.xtend.core.xtend.XtendParameter)2 XtendTypeDeclaration (org.eclipse.xtend.core.xtend.XtendTypeDeclaration)2 JvmAnnotationType (org.eclipse.xtext.common.types.JvmAnnotationType)2 ElementType (java.lang.annotation.ElementType)1 Collection (java.util.Collection)1 EPackage (org.eclipse.emf.ecore.EPackage)1 InternalEObject (org.eclipse.emf.ecore.InternalEObject)1 XtendAnnotationTypeDeclarationImpl (org.eclipse.xtend.core.macro.declaration.XtendAnnotationTypeDeclarationImpl)1