|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 Annotation 的软件包 | |
|---|---|
| org.eclipse.jdt.internal.compiler.ast | |
| org.eclipse.jdt.internal.compiler.parser | |
| org.eclipse.jdt.internal.compiler.problem | |
| org.eclipse.jdt.internal.compiler.ast 中 Annotation 的使用 |
|---|
| org.eclipse.jdt.internal.compiler.ast 中 Annotation 的子类 | |
|---|---|
class |
MarkerAnnotation
|
class |
NormalAnnotation
Normal annotation node |
class |
SingleMemberAnnotation
SingleMemberAnnotation node |
| 声明为 Annotation 的 org.eclipse.jdt.internal.compiler.ast 中的字段 | |
|---|---|
Annotation[] |
TypeDeclaration.annotations
|
Annotation[] |
ImportReference.annotations
|
Annotation[] |
AbstractVariableDeclaration.annotations
|
Annotation[] |
AbstractMethodDeclaration.annotations
|
| 参数类型为 Annotation 的 org.eclipse.jdt.internal.compiler.ast 中的方法 | |
|---|---|
static StringBuffer |
ASTNode.printAnnotations(Annotation[] annotations,
StringBuffer output)
|
void |
CompilationUnitDeclaration.recordSuppressWarnings(IrritantSet irritants,
Annotation annotation,
int scopeStart,
int scopeEnd)
|
static void |
ASTNode.resolveAnnotations(BlockScope scope,
Annotation[] sourceAnnotations,
Binding recipient)
Resolve annotations, and check duplicates, answers combined tagBits for recognized standard annotations |
static void |
ASTNode.resolveDeprecatedAnnotations(BlockScope scope,
Annotation[] annotations,
Binding recipient)
Figures if @Deprecated annotation is specified, do not resolve entire annotations. |
| org.eclipse.jdt.internal.compiler.parser 中 Annotation 的使用 |
|---|
| 声明为 Annotation 的 org.eclipse.jdt.internal.compiler.parser 中的字段 | |
|---|---|
Annotation |
RecoveredAnnotation.annotation
|
| 返回 Annotation 的 org.eclipse.jdt.internal.compiler.parser 中的方法 | |
|---|---|
Annotation |
RecoveredAnnotation.updatedAnnotationReference()
|
| 参数类型为 Annotation 的 org.eclipse.jdt.internal.compiler.parser 中的方法 | |
|---|---|
RecoveredElement |
RecoveredAnnotation.addAnnotation(Annotation annot,
int index)
|
| org.eclipse.jdt.internal.compiler.problem 中 Annotation 的使用 |
|---|
| 参数类型为 Annotation 的 org.eclipse.jdt.internal.compiler.problem 中的方法 | |
|---|---|
void |
ProblemReporter.disallowedTargetForAnnotation(Annotation annotation)
|
void |
ProblemReporter.duplicateAnnotation(Annotation annotation)
|
void |
ProblemReporter.invalidFileNameForPackageAnnotations(Annotation annotation)
|
void |
ProblemReporter.invalidUsageOfAnnotation(Annotation annotation)
|
void |
ProblemReporter.missingValueForAnnotationMember(Annotation annotation,
char[] memberName)
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||