java.lang.Object | |
↳ | sun.tools.java.ClassDeclaration |
This class represents an Java class declaration. It refers to either a binary or source definition. ClassDefinitions are loaded on demand, this means that class declarations are late bound. The definition of the class is obtained in stages. The status field describes the state of the class definition: CS_UNDEFINED - the definition is not yet loaded CS_UNDECIDED - a binary definition is loaded, but it is still unclear if the source definition need to be loaded CS_BINARY - the binary class is loaded CS_PARSED - the class is loaded from the source file, the type information is available, but the class has not yet been compiled. CS_CHECKED - the class is loaded from the source file and has been type-checked. CS_COMPILED - the class has been type checked, compiled, and written out. CS_NOTFOUND - no class definition could be found WARNING: The contents of this source file are not part of any supported API. Code that depends on them does so at its own risk: they are subject to change or removal without notice.
[Expand]
Inherited Fields | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
sun.tools.java.Constants
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From interface
sun.tools.java.RuntimeConstants
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Equality
| |||||||||||
Get the definition of this class.
| |||||||||||
Get the definition of this class, if the class is not
yet defined, load the definition.
| |||||||||||
Get the definition of this class, if the class is not
yet defined, load the definition.
| |||||||||||
Get the name of the class
| |||||||||||
Get the status of the class
| |||||||||||
Get the type of the class
| |||||||||||
Check if the class is defined
| |||||||||||
Set the class definition
| |||||||||||
toString
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Equality
obj | the reference object with which to compare. |
---|
true
if this object is the same as the obj
argument; false
otherwise.Get the definition of this class. Returns null if the class is not yet defined.
Get the definition of this class, if the class is not yet defined, load the definition. Loading a class may throw various exceptions.
ClassNotFound |
---|
Get the definition of this class, if the class is not yet defined, load the definition. Loading a class may throw various exceptions. Perform no basicCheck() on this class.
ClassNotFound |
---|
Get the status of the class
Check if the class is defined