org.jvnet.hk2.annotations
Annotation Type Decorate


Deprecated.

@Deprecated
@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
          Deprecated. Returns the decorated method name defined in the Class returned by targetType()
 Class<?> targetType
          Deprecated. Returns the decorated type
 Class<? extends Annotation> with
          Deprecated. Returns the annotation type that is defined on the same annotated element and decorate the method identified by the targetType() and methodName().
 

Element Detail

targetType

public abstract Class<?> targetType
Deprecated. 
Returns the decorated type

Returns:
the decorated type

methodName

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

Returns:
the decorated method name

with

public abstract Class<? extends Annotation> with
Deprecated. 
Returns the annotation type that is 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 © 2013 Oracle Corporation. All Rights Reserved.