ariba.util.fieldtype
Annotation Type SafeMethodOptions


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

This annotation is used for dynamic detection as well as routing of static methods. This was implemented as part of FMD.lookup() enhancement.


Required Element Summary
 boolean covariantReturn
          Specifies if the return value of the method on which this annotation is used is of the type passed in the first parameter.
 boolean firstParameterIsClassName
          Specifies if the first parameter in the method is supposed to be a string that represents a classname.
 

Element Detail

firstParameterIsClassName

public abstract boolean firstParameterIsClassName
Specifies if the first parameter in the method is supposed to be a string that represents a classname.

Returns:

covariantReturn

public abstract boolean covariantReturn
Specifies if the return value of the method on which this annotation is used is of the type passed in the first parameter. If this is set to true, firstParameterIsClassName should be set to true as well. However this could be false; an example is: boolean exists(String className, String uniqueName)

Returns:


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.