Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Mirror API DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
DeclaredType
.
@Deprecated public interface ClassType extends DeclaredType
Represents a class type.
Interface types are represented separately by InterfaceType
.
Note that an enum is a kind of class.
While a ClassDeclaration
represents the declaration
of a class, a ClassType represents a class type.
See TypeDeclaration
for more on this distinction.
Modifier and Type | Method and Description |
---|---|
ClassDeclaration |
getDeclaration()
Deprecated. Returns the declaration of this type. |
ClassType |
getSuperclass()
Deprecated. Returns the class type that is a direct supertype of this one. |
Methods inherited from interface com.sun.mirror.type.DeclaredType |
---|
getActualTypeArguments, getContainingType, getSuperinterfaces |
Methods inherited from interface com.sun.mirror.type.TypeMirror |
---|
accept, equals, toString |
Method Detail |
---|
ClassDeclaration getDeclaration()
Returns null if this type's declaration is unknown. This may be the result of a processing error, such as a missing class file.
getDeclaration
in interface DeclaredType
ClassType getSuperclass()
For example, the class type extended by
java.util.TreeSet<String>
is
java.util.AbstractSet<String>
.
|
Mirror API DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2004, 2010, Oracle Corporation. All rights reserved.