org.jetbrains.kotlin.load.java.structure.impl
Class JavaClassImpl

java.lang.Object
  extended by org.jetbrains.kotlin.load.java.structure.impl.JavaElementImpl<Psi>
      extended by org.jetbrains.kotlin.load.java.structure.impl.JavaClassifierImpl<com.intellij.psi.PsiClass>
          extended by org.jetbrains.kotlin.load.java.structure.impl.JavaClassImpl
All Implemented Interfaces:
JavaAnnotationOwnerImpl, JavaModifierListOwnerImpl, JavaAnnotationOwner, JavaClass, JavaClassifier, JavaElement, JavaModifierListOwner, JavaNamedElement, JavaTypeParameterListOwner

public class JavaClassImpl
extends JavaClassifierImpl<com.intellij.psi.PsiClass>
implements JavaClass, JavaAnnotationOwnerImpl, JavaModifierListOwnerImpl


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jetbrains.kotlin.load.java.structure.JavaClass
JavaClass.OriginKind
 
Constructor Summary
JavaClassImpl(com.intellij.psi.PsiClass psiClass)
           
 
Method Summary
 JavaType createImmediateType(JavaTypeSubstitutor substitutor)
           
 JavaAnnotation findAnnotation(FqName fqName)
           
 java.util.Collection<JavaAnnotation> getAnnotations()
           
 java.util.Collection<JavaConstructor> getConstructors()
           
 JavaClassifierType getDefaultType()
           
 java.util.Collection<JavaField> getFields()
           
 FqName getFqName()
           
 java.util.Collection<JavaClass> getInnerClasses()
           
 java.util.Collection<JavaMethod> getMethods()
           
 Name getName()
           
 JavaClass.OriginKind getOriginKind()
           
 JavaClass getOuterClass()
           
 java.util.Collection<JavaClassifierType> getSupertypes()
           
 java.util.List<JavaTypeParameter> getTypeParameters()
           
 Visibility getVisibility()
           
 boolean isAbstract()
           
 boolean isAnnotationType()
           
 boolean isEnum()
           
 boolean isFinal()
           
 boolean isInterface()
           
 boolean isStatic()
           
 
Methods inherited from class org.jetbrains.kotlin.load.java.structure.impl.JavaElementImpl
equals, getPsi, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jetbrains.kotlin.load.java.structure.impl.JavaAnnotationOwnerImpl
getPsi
 
Methods inherited from interface org.jetbrains.kotlin.load.java.structure.impl.JavaModifierListOwnerImpl
getPsi
 

Constructor Detail

JavaClassImpl

public JavaClassImpl(@NotNull
                     com.intellij.psi.PsiClass psiClass)
Method Detail

getInnerClasses

@NotNull
public java.util.Collection<JavaClass> getInnerClasses()
Specified by:
getInnerClasses in interface JavaClass

getFqName

@Nullable
public FqName getFqName()
Specified by:
getFqName in interface JavaClass

getName

@NotNull
public Name getName()
Specified by:
getName in interface JavaNamedElement

isInterface

public boolean isInterface()
Specified by:
isInterface in interface JavaClass

isAnnotationType

public boolean isAnnotationType()
Specified by:
isAnnotationType in interface JavaClass

isEnum

public boolean isEnum()
Specified by:
isEnum in interface JavaClass

getOuterClass

@Nullable
public JavaClass getOuterClass()
Specified by:
getOuterClass in interface JavaClass

getTypeParameters

@NotNull
public java.util.List<JavaTypeParameter> getTypeParameters()
Specified by:
getTypeParameters in interface JavaTypeParameterListOwner

getSupertypes

@NotNull
public java.util.Collection<JavaClassifierType> getSupertypes()
Specified by:
getSupertypes in interface JavaClass

getMethods

@NotNull
public java.util.Collection<JavaMethod> getMethods()
Specified by:
getMethods in interface JavaClass

getFields

@NotNull
public java.util.Collection<JavaField> getFields()
Specified by:
getFields in interface JavaClass

getConstructors

@NotNull
public java.util.Collection<JavaConstructor> getConstructors()
Specified by:
getConstructors in interface JavaClass

isAbstract

public boolean isAbstract()
Specified by:
isAbstract in interface JavaModifierListOwner

isStatic

public boolean isStatic()
Specified by:
isStatic in interface JavaModifierListOwner

isFinal

public boolean isFinal()
Specified by:
isFinal in interface JavaModifierListOwner

getVisibility

@NotNull
public Visibility getVisibility()
Specified by:
getVisibility in interface JavaModifierListOwner

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

getDefaultType

@NotNull
public JavaClassifierType getDefaultType()
Specified by:
getDefaultType in interface JavaClass

getOriginKind

@NotNull
public JavaClass.OriginKind getOriginKind()
Specified by:
getOriginKind in interface JavaClass

createImmediateType

@NotNull
public JavaType createImmediateType(@NotNull
                                            JavaTypeSubstitutor substitutor)
Specified by:
createImmediateType in interface JavaClass