|
Eclipse JDT Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TypeMirror
Represents a type in the Java programming language. Types include primitive types, class and interface types, array types, and type variables. Wildcard type arguments, and the pseudo-type representing the type of void, are represented by type mirrors as well.
Types may be compared using the utility methods in
Types.
There is no guarantee that any particular type will
always be represented by the same object.
Declaration,
Types| Method Summary | |
|---|---|
void |
accept(TypeVisitor v)
Applies a visitor to this type. |
boolean |
equals(Object obj)
Tests whether two types represent the same type. |
String |
toString()
Returns a string representation of this type. |
| Method Detail |
|---|
String toString()
toString in class Objectboolean equals(Object obj)
equals in class Objectobj - the object to be compared with this type
void accept(TypeVisitor v)
v - the visitor operating on this type
|
Eclipse JDT Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.