Java Doc for DeclarationScanner.java in  » IDE-Eclipse » jdt » com » sun » mirror » util » 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 » IDE Eclipse » jdt » com.sun.mirror.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.mirror.util.DeclarationScanner

All known Subclasses:   com.sun.mirror.util.SourceOrderDeclScanner,
DeclarationScanner
class DeclarationScanner implements DeclarationVisitor(Code)
A visitor for declarations that scans declarations contained within the given declaration. For example, when visiting a class, the methods, fields, constructors, and nested types of the class are also visited.

To control the processing done on a declaration, users of this class pass in their own visitors for pre and post processing. The preprocessing visitor is called before the contained declarations are scanned; the postprocessing visitor is called after the contained declarations are scanned.
author:
   Joseph D. Darcy
author:
   Scott Seligman
version:
   1.5 04/04/20
since:
   1.5



Field Summary
protected  DeclarationVisitorpost
    
protected  DeclarationVisitorpre
    

Constructor Summary
 DeclarationScanner(DeclarationVisitor pre, DeclarationVisitor post)
    

Method Summary
public  voidvisitAnnotationTypeDeclaration(AnnotationTypeDeclaration d)
     Visits an annotation type declaration.
public  voidvisitAnnotationTypeElementDeclaration(AnnotationTypeElementDeclaration d)
     Visits an annotation type element declaration.
public  voidvisitClassDeclaration(ClassDeclaration d)
     Visits a class declaration.
public  voidvisitConstructorDeclaration(ConstructorDeclaration d)
     Visits a constructor declaration.
public  voidvisitDeclaration(Declaration d)
     Visits a declaration.
public  voidvisitEnumConstantDeclaration(EnumConstantDeclaration d)
     Visits an enum constant declaration.
public  voidvisitEnumDeclaration(EnumDeclaration d)
     Visits an enum declaration.
public  voidvisitExecutableDeclaration(ExecutableDeclaration d)
     Visits a method or constructor declaration.
public  voidvisitFieldDeclaration(FieldDeclaration d)
     Visits a field declaration.
public  voidvisitInterfaceDeclaration(InterfaceDeclaration d)
     Visits an interface declaration.
public  voidvisitMemberDeclaration(MemberDeclaration d)
     Visits a member or constructor declaration.
public  voidvisitMethodDeclaration(MethodDeclaration d)
     Visits a method declaration.
public  voidvisitPackageDeclaration(PackageDeclaration d)
     Visits a package declaration.
public  voidvisitParameterDeclaration(ParameterDeclaration d)
     Visits a parameter declaration.
public  voidvisitTypeDeclaration(TypeDeclaration d)
     Visits a type declaration.
public  voidvisitTypeParameterDeclaration(TypeParameterDeclaration d)
     Visits a type parameter declaration.

Field Detail
post
protected DeclarationVisitor post(Code)



pre
protected DeclarationVisitor pre(Code)




Constructor Detail
DeclarationScanner
DeclarationScanner(DeclarationVisitor pre, DeclarationVisitor post)(Code)




Method Detail
visitAnnotationTypeDeclaration
public void visitAnnotationTypeDeclaration(AnnotationTypeDeclaration d)(Code)
Visits an annotation type declaration.
Parameters:
  d - the declaration to visit



visitAnnotationTypeElementDeclaration
public void visitAnnotationTypeElementDeclaration(AnnotationTypeElementDeclaration d)(Code)
Visits an annotation type element declaration.
Parameters:
  d - the declaration to visit



visitClassDeclaration
public void visitClassDeclaration(ClassDeclaration d)(Code)
Visits a class declaration.
Parameters:
  d - the declaration to visit



visitConstructorDeclaration
public void visitConstructorDeclaration(ConstructorDeclaration d)(Code)
Visits a constructor declaration.
Parameters:
  d - the declaration to visit



visitDeclaration
public void visitDeclaration(Declaration d)(Code)
Visits a declaration.
Parameters:
  d - the declaration to visit



visitEnumConstantDeclaration
public void visitEnumConstantDeclaration(EnumConstantDeclaration d)(Code)
Visits an enum constant declaration.
Parameters:
  d - the declaration to visit



visitEnumDeclaration
public void visitEnumDeclaration(EnumDeclaration d)(Code)
Visits an enum declaration.
Parameters:
  d - the declaration to visit



visitExecutableDeclaration
public void visitExecutableDeclaration(ExecutableDeclaration d)(Code)
Visits a method or constructor declaration.
Parameters:
  d - the declaration to visit



visitFieldDeclaration
public void visitFieldDeclaration(FieldDeclaration d)(Code)
Visits a field declaration.
Parameters:
  d - the declaration to visit



visitInterfaceDeclaration
public void visitInterfaceDeclaration(InterfaceDeclaration d)(Code)
Visits an interface declaration.
Parameters:
  d - the declaration to visit



visitMemberDeclaration
public void visitMemberDeclaration(MemberDeclaration d)(Code)
Visits a member or constructor declaration.
Parameters:
  d - the declaration to visit



visitMethodDeclaration
public void visitMethodDeclaration(MethodDeclaration d)(Code)
Visits a method declaration.
Parameters:
  d - the declaration to visit



visitPackageDeclaration
public void visitPackageDeclaration(PackageDeclaration d)(Code)
Visits a package declaration.
Parameters:
  d - the declaration to visit



visitParameterDeclaration
public void visitParameterDeclaration(ParameterDeclaration d)(Code)
Visits a parameter declaration.
Parameters:
  d - the declaration to visit



visitTypeDeclaration
public void visitTypeDeclaration(TypeDeclaration d)(Code)
Visits a type declaration.
Parameters:
  d - the declaration to visit



visitTypeParameterDeclaration
public void visitTypeParameterDeclaration(TypeParameterDeclaration d)(Code)
Visits a type parameter declaration.
Parameters:
  d - the declaration to visit



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.