Evaluating Software Design Patterns
— the "Gang of Four" patterns implemented in Java 6

dk.rode.thesis.meta
Annotation Type Participant


@Documented
@Inherited
@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD,PARAMETER,FIELD,LOCAL_VARIABLE})
public @interface Participant

Identifies a participant as described in [Gamma95, p.7]: a class or object participating in the design pattern.

The scope of the design pattern is considered to be the (parent) package enclosing the identified participant. The annotated target represents the participant. For example, if the target is a field, the object stored in the field is the participant.

If the annotated target is a type, the participant is declared by the type.

Author:
Gunni Rode / rode.dk
See Also:
ParticipantUsage

Required Element Summary
 String[] value
          The roles this participant fulfil in the pattern.
 

Element Detail

value

public abstract String[] value
The roles this participant fulfil in the pattern.


Gunni Rode / rode.dk

Feel free to use and/or modify the Java 6 source code developed for this thesis AT YOUR OWN RISK, but note that the source code comes WITHOUT ANY — and I do mean WITHOUT ANY — form of warranty WHAT SO EVER!

The original thesis and source code are available at rode.dk/thesis.