FileDocCategorySizeDatePackage
TypeMirror.javaAPI DocJava SE 5 API1591Fri Aug 26 14:55:14 BST 2005com.sun.mirror.type

TypeMirror

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 {@link Types}. There is no guarantee that any particular type will always be represented by the same object.

author
Joseph D. Darcy
author
Scott Seligman
version
1.3 04/07/16
see
Declaration
see
Types
since
1.5

Fields Summary
Constructors Summary
Methods Summary
public voidaccept(com.sun.mirror.util.TypeVisitor v)
Applies a visitor to this type.

param
v the visitor operating on this type

public booleanequals(java.lang.Object obj)
Tests whether two types represent the same type.

param
obj the object to be compared with this type
return
true if the specified object represents the same type as this.

public java.lang.StringtoString()
Returns a string representation of this type. Any names embedded in the expression are qualified.

return
a string representation of this type