Spec-Zone .ru
спецификации, руководства, описания, API

Mirror API
DRAFT ea-b118

com.sun.mirror.type
Interface InterfaceType

All Superinterfaces:
DeclaredType, ReferenceType, TypeMirror
All Known Subinterfaces:
AnnotationType

Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is included in DeclaredType.

@Deprecated
public interface InterfaceType
extends DeclaredType

Represents an interface type. Note that an annotation type is a kind of interface.

While an InterfaceDeclaration represents the declaration of an interface, an InterfaceType represents an interface type. See TypeDeclaration for more on this distinction.

Since:
1.5

Method Summary
Modifier and Type Method and Description
 InterfaceDeclaration getDeclaration()
          Deprecated. Returns the declaration of this type.
 
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

getDeclaration

InterfaceDeclaration getDeclaration()
Deprecated. 
Returns the declaration of this type.

Returns null if this type's declaration is unknown. This may be the result of a processing error, such as a missing class file.

Specified by:
getDeclaration in interface DeclaredType
Returns:
the declaration of this type, or null if unknown

Mirror API
DRAFT ea-b118

Copyright © 2004, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.