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

java.lang.Object
  extended by org.jetbrains.kotlin.load.java.structure.impl.JavaElementImpl<Psi>
      extended by org.jetbrains.kotlin.load.java.structure.impl.JavaMemberImpl<Psi>
All Implemented Interfaces:
JavaAnnotationOwnerImpl, JavaModifierListOwnerImpl, JavaAnnotationOwner, JavaElement, JavaMember, JavaModifierListOwner, JavaNamedElement
Direct Known Subclasses:
JavaConstructorImpl, JavaFieldImpl, JavaMethodImpl

public abstract class JavaMemberImpl<Psi extends com.intellij.psi.PsiMember>
extends JavaElementImpl<Psi>
implements JavaMember, JavaAnnotationOwnerImpl, JavaModifierListOwnerImpl


Constructor Summary
protected JavaMemberImpl(Psi psiMember)
           
 
Method Summary
 JavaAnnotation findAnnotation(FqName fqName)
           
 java.util.Collection<JavaAnnotation> getAnnotations()
           
 JavaClass getContainingClass()
           
 Name getName()
           
 Visibility getVisibility()
           
 boolean isAbstract()
           
 boolean isFinal()
           
 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

JavaMemberImpl

protected JavaMemberImpl(@NotNull
                         Psi psiMember)
Method Detail

getName

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

getContainingClass

@NotNull
public JavaClass getContainingClass()
Specified by:
getContainingClass in interface JavaMember

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