class Foo extends FooBase implements Marker{}//Marker { } interface Marker { } aspect AspectDoWhatEver { void Marker.doWhatEver() { // do nothing } } abstract class FooBase { abstract void doWhatEver(); }