org.jetbrains.kotlin.load.java.structure.impl
Class JavaClassImpl
java.lang.Object
org.jetbrains.kotlin.load.java.structure.impl.JavaElementImpl<Psi>
org.jetbrains.kotlin.load.java.structure.impl.JavaClassifierImpl<com.intellij.psi.PsiClass>
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
Constructor Summary |
JavaClassImpl(com.intellij.psi.PsiClass psiClass)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
JavaClassImpl
public JavaClassImpl(@NotNull
com.intellij.psi.PsiClass psiClass)
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