public interface ResolvedMethodDeclaration extends ResolvedMethodLikeDeclaration
Modifier and Type | Method and Description |
---|---|
ResolvedType |
getReturnType()
The type of the value returned by the current method.
|
boolean |
isAbstract()
Is the method abstract?
|
boolean |
isDefaultMethod()
Is this a default method?
|
default boolean |
isReturnTypeSubstituable(ResolvedType otherResolvedType) |
boolean |
isStatic() |
String |
toDescriptor() |
declaringType, findTypeParameter, formalParameterTypes, getClassName, getLastParam, getNumberOfParams, getNumberOfSpecifiedExceptions, getPackageName, getParam, getQualifiedName, getQualifiedSignature, getSignature, getSpecifiedException, getSpecifiedExceptions, hasVariadicParameter
asEnumConstant, asField, asMethod, asParameter, asType, asTypePattern, getName, hasName, isEnumConstant, isField, isMethod, isParameter, isType, isTypePattern, isVariable
toAst, toAst
getTypeParameters, isGeneric
accessSpecifier
ResolvedType getReturnType()
boolean isAbstract()
boolean isDefaultMethod()
boolean isStatic()
String toDescriptor()
default boolean isReturnTypeSubstituable(ResolvedType otherResolvedType)
Copyright © 2007–2024. All rights reserved.