Java Doc for AbstractProcessor.java in  » 6.0-JDK-Modules-sun » javac-compiler » javax » annotation » processing » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules sun » javac compiler » javax.annotation.processing 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.annotation.processing.AbstractProcessor

All known Subclasses:   com.sun.tools.javac.processing.PrintingProcessor,  com.sun.tools.javac.sym.CreateSymbols,
AbstractProcessor
abstract public class AbstractProcessor implements Processor(Code)
An abstract annotation processor designed to be a convenient superclass for most concrete annotation processors. This class examines annotation values to compute the , , and supported by its subtypes.

The getter methods may about noteworthy conditions using the facilities available after the processor has been .

Subclasses are free to override the implementation and specification of any of the methods in this class as long as the general javax.annotation.processing.Processor Processor contract for that method is obeyed.
author:
   Joseph D. Darcy
author:
   Scott Seligman
author:
   Peter von der Ahé
version:
   1.14 07/05/05
since:
   1.6



Field Summary
protected  ProcessingEnvironmentprocessingEnv
     Processing environment providing by the tool framework.

Constructor Summary
protected  AbstractProcessor()
     Constructor for subclasses to call.

Method Summary
public  Iterable<? extends Completion>getCompletions(Element element, AnnotationMirror annotation, ExecutableElement member, String userText)
     Returns an empty iterable of completions.
public  Set<String>getSupportedAnnotationTypes()
     If the processor class is annotated with SupportedAnnotationTypes , return an unmodifiable set with the same set of strings as the annotation.
public  Set<String>getSupportedOptions()
     If the processor class is annotated with SupportedOptions , return an unmodifiable set with the same set of strings as the annotation.
public  SourceVersiongetSupportedSourceVersion()
     If the processor class is annotated with SupportedSourceVersion , return the source version in the annotation.
public synchronized  voidinit(ProcessingEnvironment processingEnv)
     Initializes the processor with the processing environment by setting the processingEnv field to the value of the processingEnv argument.
protected synchronized  booleanisInitialized()
     Returns true if this object has been , false otherwise.
abstract public  booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
    

Field Detail
processingEnv
protected ProcessingEnvironment processingEnv(Code)
Processing environment providing by the tool framework.




Constructor Detail
AbstractProcessor
protected AbstractProcessor()(Code)
Constructor for subclasses to call.




Method Detail
getCompletions
public Iterable<? extends Completion> getCompletions(Element element, AnnotationMirror annotation, ExecutableElement member, String userText)(Code)
Returns an empty iterable of completions.
Parameters:
  element -
Parameters:
  annotation -
Parameters:
  member -
Parameters:
  userText -



getSupportedAnnotationTypes
public Set<String> getSupportedAnnotationTypes()(Code)
If the processor class is annotated with SupportedAnnotationTypes , return an unmodifiable set with the same set of strings as the annotation. If the class is not so annotated, an empty set is returned. the names of the annotation types supported by thisprocessor, or an empty set if none



getSupportedOptions
public Set<String> getSupportedOptions()(Code)
If the processor class is annotated with SupportedOptions , return an unmodifiable set with the same set of strings as the annotation. If the class is not so annotated, an empty set is returned. the options recognized by this processor, or an emptyset if none



getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()(Code)
If the processor class is annotated with SupportedSourceVersion , return the source version in the annotation. If the class is not so annotated, SourceVersion.RELEASE_6 is returned. the latest source version supported by this processor



init
public synchronized void init(ProcessingEnvironment processingEnv)(Code)
Initializes the processor with the processing environment by setting the processingEnv field to the value of the processingEnv argument. An IllegalStateException will be thrown if this method is called more than once on the same object.
Parameters:
  processingEnv - environment to access facilities the tool frameworkprovides to the processor
throws:
  IllegalStateException - if this method is called more than once.



isInitialized
protected synchronized boolean isInitialized()(Code)
Returns true if this object has been , false otherwise. true if this object has been initialized, false otherwise.



process
abstract public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.