当前位置: 首页>>代码示例>>Java>>正文


Java AnnotationTypeDeclaration类代码示例

本文整理汇总了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);
	}
}
 
开发者ID:eclipse,项目名称:xtext-lib,代码行数:6,代码来源:AbstractAnnotationTypeProcessor.java

示例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);
	}
}
 
开发者ID:eclipse,项目名称:xtext-lib,代码行数:6,代码来源:AbstractAnnotationTypeProcessor.java

示例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);
	}
}
 
开发者ID:eclipse,项目名称:xtext-lib,代码行数:6,代码来源:AbstractAnnotationTypeProcessor.java

示例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);
 
开发者ID:eclipse,项目名称:xtext-lib,代码行数:10,代码来源:SourceTypeLookup.java


注:本文中的org.eclipse.xtend.lib.macro.declaration.AnnotationTypeDeclaration类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。