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

java.lang.Object
  extended by org.jetbrains.kotlin.load.java.structure.impl.JavaElementImpl<Psi>
      extended by org.jetbrains.kotlin.load.java.structure.impl.JavaMemberImpl<com.intellij.psi.PsiMethod>
          extended by org.jetbrains.kotlin.load.java.structure.impl.JavaMethodImpl
All Implemented Interfaces:
JavaAnnotationOwnerImpl, JavaModifierListOwnerImpl, JavaAnnotationOwner, JavaElement, JavaMember, JavaMethod, JavaModifierListOwner, JavaNamedElement, JavaTypeParameterListOwner

public class JavaMethodImpl
extends JavaMemberImpl<com.intellij.psi.PsiMethod>
implements JavaMethod


Constructor Summary
JavaMethodImpl(com.intellij.psi.PsiMethod psiMethod)
           
 
Method Summary
 Name getName()
           
 JavaType getReturnType()
           
 java.util.List<JavaTypeParameter> getTypeParameters()
           
 java.util.List<JavaValueParameter> getValueParameters()
           
 boolean hasAnnotationParameterDefaultValue()
           
 
Methods inherited from class org.jetbrains.kotlin.load.java.structure.impl.JavaMemberImpl
findAnnotation, getAnnotations, getContainingClass, getVisibility, isAbstract, isFinal, 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.JavaMember
getContainingClass
 
Methods inherited from interface org.jetbrains.kotlin.load.java.structure.JavaModifierListOwner
getVisibility, isAbstract, isFinal, isStatic
 
Methods inherited from interface org.jetbrains.kotlin.load.java.structure.JavaAnnotationOwner
findAnnotation, getAnnotations
 
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

JavaMethodImpl

public JavaMethodImpl(@NotNull
                      com.intellij.psi.PsiMethod psiMethod)
Method Detail

getName

@NotNull
public Name getName()
Specified by:
getName in interface JavaNamedElement
Overrides:
getName in class JavaMemberImpl<com.intellij.psi.PsiMethod>

getTypeParameters

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

getValueParameters

@NotNull
public java.util.List<JavaValueParameter> getValueParameters()
Specified by:
getValueParameters in interface JavaMethod

hasAnnotationParameterDefaultValue

public boolean hasAnnotationParameterDefaultValue()
Specified by:
hasAnnotationParameterDefaultValue in interface JavaMethod

getReturnType

@Nullable
public JavaType getReturnType()
Specified by:
getReturnType in interface JavaMethod