groovy.lang
Annotation Type Delegate


@Retention(value=SOURCE)
@Target(value=FIELD)
public @interface Delegate

Field annotation to delegate part of functionality to annotated field. All non-private methods presented in the type of field and not presented in the owner class will be added to owner class on compile time.

Author:
Alex Tkachman

Optional Element Summary
 boolean interfaces
          true if owner class should implement interfaces implemented by field
 

interfaces

public abstract boolean interfaces
true if owner class should implement interfaces implemented by field

Default:
true

Copyright © 2003-2009 The Codehaus. All rights reserved.