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