本文整理汇总了Java中org.eclipse.xtend.lib.macro.declaration.AnnotationTypeDeclaration类的典型用法代码示例。如果您正苦于以下问题:Java AnnotationTypeDeclaration类的具体用法?Java AnnotationTypeDeclaration怎么用?Java AnnotationTypeDeclaration使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AnnotationTypeDeclaration类属于org.eclipse.xtend.lib.macro.declaration包,在下文中一共展示了AnnotationTypeDeclaration类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: doRegisterGlobals
import org.eclipse.xtend.lib.macro.declaration.AnnotationTypeDeclaration; //导入依赖的package包/类
public void doRegisterGlobals(List<? extends AnnotationTypeDeclaration> annotatedAnnotationTypes, @Extension RegisterGlobalsContext context) {
for (AnnotationTypeDeclaration annotatedAnnotationType : annotatedAnnotationTypes) {
doRegisterGlobals(annotatedAnnotationType, context);
}
}
示例2: doGenerateCode
import org.eclipse.xtend.lib.macro.declaration.AnnotationTypeDeclaration; //导入依赖的package包/类
public void doGenerateCode(List<? extends AnnotationTypeDeclaration> annotatedSourceElements, @Extension CodeGenerationContext context) {
for (AnnotationTypeDeclaration annotatedAnnotationType : annotatedSourceElements) {
doGenerateCode(annotatedAnnotationType, context);
}
}
示例3: doValidate
import org.eclipse.xtend.lib.macro.declaration.AnnotationTypeDeclaration; //导入依赖的package包/类
public void doValidate(List<? extends AnnotationTypeDeclaration> annotatedAnnotationTypes, @Extension ValidationContext context) {
for (AnnotationTypeDeclaration annotatedAnnotationType : annotatedAnnotationTypes) {
doValidate(annotatedAnnotationType, context);
}
}
示例4: findSourceAnnotationType
import org.eclipse.xtend.lib.macro.declaration.AnnotationTypeDeclaration; //导入依赖的package包/类
/**
* @param qualifiedName
* the qualified name of the type to look up. Nested class delimiter is expected to be the '.' (dot).
* @return the <code>AnnotationTypeDeclaration</code> with given
* qualified name, or <code>null</code> if no such class declaration
* is contained in the currently processed
* <code>CompilationUnit</code>
*/
AnnotationTypeDeclaration findSourceAnnotationType(String qualifiedName);