Skip to content

Commit

Permalink
doc: improves the documentation of getOverridingExecutable (#1828)
Browse files Browse the repository at this point in the history
  • Loading branch information
monperrus authored and pvojtechovsky committed Jan 18, 2018
1 parent 3945cd6 commit 0d92415
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ public interface CtExecutableReference<T> extends CtReference, CtActualTypeConta
boolean isOverriding(CtExecutableReference<?> executable);

/**
* Returns the executable overridden by this one, if exists (null otherwise).
* Returns the method overridden by this one, if exists (null otherwise).
* The returned method is searched in the superclass hierarchy
* (and not in the super-interfaces).
* The returned method can be an abstract method from an abstract class, a super implementation, or even a method from Object.
*/
@DerivedProperty
CtExecutableReference<?> getOverridingExecutable();
Expand Down

0 comments on commit 0d92415

Please sign in to comment.