mrcode.duckprxy
Annotation Type DuckMethod


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface DuckMethod

Adds details to a method of a duck delegate.

Author:
Christian Haselbach

Optional Element Summary
 boolean fallback
           
 boolean subdelegate
           
 java.lang.String[] value
           
 

value

public abstract java.lang.String[] value
Returns:
An array of patterns to match method names.
Default:
{}

fallback

public abstract boolean fallback
Returns:
true iff this method shall be used as a fallback.
Default:
false

subdelegate

public abstract boolean subdelegate
Returns:
true iff this method is a getter for a subdelegate.
Default:
false


Copyright © 2008. All Rights Reserved.