org.jetbrains.kotlin.load.java.structure.impl
Class JavaTypeImpl<Psi extends com.intellij.psi.PsiType>

java.lang.Object
  extended by org.jetbrains.kotlin.load.java.structure.impl.JavaTypeImpl<Psi>
All Implemented Interfaces:
JavaAnnotationOwnerImpl, JavaAnnotationOwner, JavaElement, JavaType
Direct Known Subclasses:
JavaArrayTypeImpl, JavaClassifierTypeImpl, JavaPrimitiveTypeImpl, JavaWildcardTypeImpl

public abstract class JavaTypeImpl<Psi extends com.intellij.psi.PsiType>
extends java.lang.Object
implements JavaType, JavaAnnotationOwnerImpl


Constructor Summary
JavaTypeImpl(Psi psiType)
           
 
Method Summary
static JavaTypeImpl<?> create(com.intellij.psi.PsiType psiType)
           
 JavaArrayType createArrayType()
           
 boolean equals(java.lang.Object obj)
           
 JavaAnnotation findAnnotation(FqName fqName)
           
 com.intellij.psi.PsiAnnotationOwner getAnnotationOwnerPsi()
           
 java.util.Collection<JavaAnnotation> getAnnotations()
           
 Psi getPsi()
           
 int hashCode()
           
 boolean isDeprecatedInJavaDoc()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaTypeImpl

public JavaTypeImpl(@NotNull
                    Psi psiType)
Method Detail

getPsi

@NotNull
public Psi getPsi()

getAnnotationOwnerPsi

@Nullable
public com.intellij.psi.PsiAnnotationOwner getAnnotationOwnerPsi()
Specified by:
getAnnotationOwnerPsi in interface JavaAnnotationOwnerImpl

create

@NotNull
public static JavaTypeImpl<?> create(@NotNull
                                             com.intellij.psi.PsiType psiType)

createArrayType

@NotNull
public JavaArrayType createArrayType()
Specified by:
createArrayType in interface JavaType

getAnnotations

@NotNull
public java.util.Collection<JavaAnnotation> getAnnotations()
Specified by:
getAnnotations in interface JavaAnnotationOwner

findAnnotation

@Nullable
public JavaAnnotation findAnnotation(@NotNull
                                              FqName fqName)
Specified by:
findAnnotation in interface JavaAnnotationOwner

isDeprecatedInJavaDoc

public boolean isDeprecatedInJavaDoc()
Specified by:
isDeprecatedInJavaDoc in interface JavaAnnotationOwner

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object