@Retention(value=CLASS)
@Target(value=METHOD)
public @interface Overridden
Target
with
the same name present in the same class.
This annotation will be ignored if Target.lookForParent()
is set to false
in the matching method.Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<?> |
parent
This defines the parent of the method this is annotating.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
by
Forces matching against a specific name.
|
java.lang.String[] |
parentInner
This defines, if present, the private inner class where the target is contained.
|
boolean |
strict
Whether to match in strict mode.
|
public abstract java.lang.Class<?> parent
Class
referencing the parent of the method this is annotatingpublic abstract java.lang.String by
Target.methodName()
.
This will always match against the actual method name, and ignore
the one specified by Target.methodName()
.public abstract java.lang.String[] parentInner
for details
public abstract boolean strict
for details