org.jvnet.hk2.annotations
Annotation Type Decorate


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Decorate

Decorates a Method with all the annotation which types are specified using the with().

Author:
Jerome Dochez

Required Element Summary
 String methodName
          Returns the decorated method name defined in the Class returned by targetType()
 Class<?> targetType
          Returns the decorated type
 Class<? extends Annotation>[] with
          Returns a list of annotation types that are defined on the same annotated element and decorate the method identified by the targetType() and methodName().
 

Element Detail

targetType

public abstract Class<?> targetType
Returns the decorated type

Returns:
the decorated type

methodName

public abstract String methodName
Returns the decorated method name defined in the Class returned by targetType()

Returns:
the decorated method name

with

public abstract Class<? extends Annotation>[] with
Returns a list of annotation types that are defined on the same annotated element and decorate the method identified by the targetType() and methodName().

Returns:
list of annotate types that decorates the Method


Copyright © 2012 Oracle Corporation. All Rights Reserved.