Java Doc for ClassInfo.java in  » UML » jrefactory » org » acm » seguin » completer » info » 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 » UML » jrefactory » org.acm.seguin.completer.info 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.acm.seguin.completer.info.MemberInfo
      org.acm.seguin.completer.info.ClassInfo

All known Subclasses:   org.acm.seguin.completer.info.ArrayClassInfo,
ClassInfo
public class ClassInfo extends MemberInfo (Code)
Contains information about a class such as super classes, inner classes, fields, and methods.
author:
   Jason Ginchereau
See Also:   ClassInfoDatabase


Field Summary
final static  Navigator.NavigatorLoggerlogger
    

Constructor Summary
public  ClassInfo(Class c)
    
public  ClassInfo(Class c, Class argDeclaringClass)
     Creates a new ClassInfo structure using reflection to determine information about superclasses, inner classes, fields, and methods.
public  ClassInfo(String declaringClass, int modifiers, boolean isInterface, String name, String superclass, String[] interfaces, String packageName, String comment)
     Creates a new ClassInfo structure using all specified information.
public  ClassInfo(String name, String packageName)
     Creates an empty ClassInfo structure that is a placeholder for when nothing about a class is yet known.

Method Summary
public  voidadd(MemberInfo mi)
     Adds the class, field, constructor, or method info to the class.
public  intcompareTo(MemberInfo mi)
    
public  SortedSetgetClasses()
     Gets the set of inner classes that are declared by this class.
public  SortedSetgetConstructors()
     Gets the set of constructors that are declared by this class. a SortedSet of ConstructorInfoobjects.
public  SortedSetgetFields()
     Gets the set of fields that are declared by this class.
public  StringgetFullName()
     Gets the fully-qualified name of the class.
public  String[]getInterfaces()
     Gets the set of interfaces which this class implements.
public  StringgetLine()
    
public  SortedSetgetMethods()
     Gets the set of methods that are declared by this class.
public  StringgetPackage()
     Gets the name of the package this class is a part of, or null if this class is part of the unnamed package.
static  StringgetSimpleName(String className)
    
public  StringgetSuperclass()
     Gets the superclass of this class.
public  StringgetType()
    
public  booleanisInterface()
    
public static  voidmain(String[] args)
    

Field Detail
logger
final static Navigator.NavigatorLogger logger(Code)




Constructor Detail
ClassInfo
public ClassInfo(Class c)(Code)



ClassInfo
public ClassInfo(Class c, Class argDeclaringClass)(Code)
Creates a new ClassInfo structure using reflection to determine information about superclasses, inner classes, fields, and methods.
Parameters:
  c - Description of the Parameter



ClassInfo
public ClassInfo(String declaringClass, int modifiers, boolean isInterface, String name, String superclass, String[] interfaces, String packageName, String comment)(Code)
Creates a new ClassInfo structure using all specified information.
Parameters:
  declaringClass - Description of the Parameter
Parameters:
  modifiers - Description of the Parameter
Parameters:
  isInterface - Description of the Parameter
Parameters:
  name - Description of the Parameter
Parameters:
  superclass - Description of the Parameter
Parameters:
  interfaces - Description of the Parameter
Parameters:
  packageName - Description of the Parameter
Parameters:
  comment - Description of the Parameter



ClassInfo
public ClassInfo(String name, String packageName)(Code)
Creates an empty ClassInfo structure that is a placeholder for when nothing about a class is yet known.
Parameters:
  name - Description of the Parameter
Parameters:
  packageName - Description of the Parameter




Method Detail
add
public void add(MemberInfo mi)(Code)
Adds the class, field, constructor, or method info to the class.
Parameters:
  mi - Description of the Parameter



compareTo
public int compareTo(MemberInfo mi)(Code)
Description of the Method
Parameters:
  mi - Description of the Parameter Description of the Return Value



getClasses
public SortedSet getClasses()(Code)
Gets the set of inner classes that are declared by this class. Note that inner classes declared by a superclass are not included in this set. a SortedSet of Strings that are thesimple names of inner classes of this class. This set should not bemodified directly.



getConstructors
public SortedSet getConstructors()(Code)
Gets the set of constructors that are declared by this class. a SortedSet of ConstructorInfoobjects. This set should not be modified directly.



getFields
public SortedSet getFields()(Code)
Gets the set of fields that are declared by this class. Note that fields declared by a superclass are not included in this set. a SortedSet of FieldInfo objects.This set should not be modified directly.



getFullName
public String getFullName()(Code)
Gets the fully-qualified name of the class. The fullName value



getInterfaces
public String[] getInterfaces()(Code)
Gets the set of interfaces which this class implements. If this class is an interface, the returned array will be the set of super-interfaces extended by this interface. If this class is implements no interfaces, an array of length 0 will be returned. The interfaces value



getLine
public String getLine()(Code)
Gets the line attribute of the ClassInfo object The line value



getMethods
public SortedSet getMethods()(Code)
Gets the set of methods that are declared by this class. Note that methods declared by a superclass are not included in this set. a SortedSet of MethodInfo objects.This set should not be modified directly.



getPackage
public String getPackage()(Code)
Gets the name of the package this class is a part of, or null if this class is part of the unnamed package. The package value



getSimpleName
static String getSimpleName(String className)(Code)



getSuperclass
public String getSuperclass()(Code)
Gets the superclass of this class. If this class is an interface, the returned classes will be Object. If this class is Object , null will be returned. The superclass value



getType
public String getType()(Code)
Gets the type attribute of the ClassInfo object The type value



isInterface
public boolean isInterface()(Code)
Gets the interface attribute of the ClassInfo object The interface value



main
public static void main(String[] args)(Code)



Methods inherited from org.acm.seguin.completer.info.MemberInfo
final public int compareTo(Object o)(Code)(Java Doc)
abstract public int compareTo(MemberInfo mi)(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
final public String getComment()(Code)(Java Doc)
final public String getDeclaringClass()(Code)(Java Doc)
abstract public String getLine()(Code)(Java Doc)
final public int getModifiers()(Code)(Java Doc)
final public String getName()(Code)(Java Doc)
final public String getOneLineComment()(Code)(Java Doc)
final public SourceLocation getSourceLocation()(Code)(Java Doc)
abstract public String getType()(Code)(Java Doc)
static String modifiersToString(int modifiers)(Code)(Java Doc)
final public void setComment(String comment)(Code)(Java Doc)
final public void setSourceLocation(SourceLocation location)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

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.