public interface Method extends MethodReference, Member
Reference.InvalidReferenceException| Modifier and Type | Method and Description |
|---|---|
int |
getAccessFlags()
Gets the access flags for this method.
|
java.util.Set<? extends Annotation> |
getAnnotations()
Gets a set of the annotations that are applied to this method.
|
java.lang.String |
getDefiningClass()
Gets the type of the class that defines this method.
|
MethodImplementation |
getImplementation()
Gets a MethodImplementation object that defines the implementation of the method.
|
java.lang.String |
getName()
Gets the name of this method.
|
java.util.List<? extends MethodParameter> |
getParameters()
Gets a list of the parameters of this method.
|
java.lang.String |
getReturnType()
Gets the return type of this method.
|
compareTo, equals, getParameterTypes, hashCodevalidateReference@Nonnull java.lang.String getDefiningClass()
getDefiningClass in interface MembergetDefiningClass in interface MethodReference@Nonnull java.lang.String getName()
getName in interface MembergetName in interface MethodReference@Nonnull java.util.List<? extends MethodParameter> getParameters()
@Nonnull java.lang.String getReturnType()
getReturnType in interface MethodReferenceint getAccessFlags()
getAccessFlags in interface Member@Nonnull java.util.Set<? extends Annotation> getAnnotations()
getAnnotations in interface Annotatable@Nullable MethodImplementation getImplementation()