org.eclipse.jdt.internal.compiler.apt.model
Class TypeMirrorImpl

java.lang.Object
  extended by org.eclipse.jdt.internal.compiler.apt.model.TypeMirrorImpl
All Implemented Interfaces:
TypeMirror
Direct Known Subclasses:
ArrayTypeImpl, DeclaredTypeImpl, ExecutableTypeImpl, PrimitiveTypeImpl, TypeVariableImpl, WildcardTypeImpl

public class TypeMirrorImpl
extends Object
implements TypeMirror

Implementation of a TypeMirror. TypeMirror represents a type, including types that have no declaration, such as primitives (int, boolean) and types that are specializations of declarations (List).


Field Summary
protected  Binding _binding
           
protected  BaseProcessingEnvImpl _env
           
 
Method Summary
<R,P> R
accept(TypeVisitor<R,P> v, P p)
           
 boolean equals(Object obj)
           
 TypeKind getKind()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_env

protected final BaseProcessingEnvImpl _env

_binding

protected final Binding _binding
Method Detail

accept

public <R,P> R accept(TypeVisitor<R,P> v,
                      P p)
Specified by:
accept in interface TypeMirror

getKind

public TypeKind getKind()
Specified by:
getKind in interface TypeMirror

toString

public String toString()
Specified by:
toString in interface TypeMirror
Overrides:
toString in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface TypeMirror
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Specified by:
equals in interface TypeMirror
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.