public class ClassTypeImpl extends Object implements DeclaredType
DeclaredType for unit tests.| Modifier and Type | Class and Description |
|---|---|
class |
ClassTypeImpl.ClassElementImpl
Fake implementation of
TypeElement for unit tests. |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(TypeVisitor<R,P> v,
P p) |
ClassTypeImpl.ClassElementImpl |
asElement() |
boolean |
equals(Object o) |
TypeMirror |
getEnclosingType() |
TypeKind |
getKind() |
List<? extends TypeMirror> |
getTypeArguments() |
int |
hashCode() |
static ClassTypeImpl |
newInnerClass(DeclaredType enclosingType,
String simpleName) |
static ClassTypeImpl |
newNestedClass(TypeElement enclosingType,
String simpleName) |
static ClassTypeImpl |
newTopLevelClass(String qualifiedName) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAnnotation, getAnnotationMirrors, getAnnotationsByTypepublic static ClassTypeImpl newTopLevelClass(String qualifiedName)
public static ClassTypeImpl newNestedClass(TypeElement enclosingType, String simpleName)
public static ClassTypeImpl newInnerClass(DeclaredType enclosingType, String simpleName)
public TypeKind getKind()
getKind in interface TypeMirrorpublic <R,P> R accept(TypeVisitor<R,P> v, P p)
accept in interface TypeMirrorpublic ClassTypeImpl.ClassElementImpl asElement()
asElement in interface DeclaredTypepublic TypeMirror getEnclosingType()
getEnclosingType in interface DeclaredTypepublic List<? extends TypeMirror> getTypeArguments()
getTypeArguments in interface DeclaredTypepublic String toString()
toString in interface TypeMirrortoString in class Objectpublic int hashCode()
hashCode in interface TypeMirrorhashCode in class Objectpublic boolean equals(Object o)
equals in interface TypeMirrorequals in class ObjectCopyright © 2015 inferred.org. All rights reserved.