AnnotationTypeConverter

Inheritance: java.lang.Object

public class AnnotationTypeConverter

Represents AnnotationTypeConverter class

Constructors

ConstructorDescription
AnnotationTypeConverter()

Methods

MethodDescription
toString(AnnotationType value)Converts the AnnotationType constant into its string value
toEnum(String value)Converts the AnnotationType string value into its constant value

AnnotationTypeConverter()

public AnnotationTypeConverter()

toString(AnnotationType value)

public static String toString(AnnotationType value)

Converts the AnnotationType constant into its string value

Parameters:

ParameterTypeDescription
valueAnnotationTypeAnnotationType element

Returns: java.lang.String - string value

toEnum(String value)

public static AnnotationType toEnum(String value)

Converts the AnnotationType string value into its constant value

Parameters:

ParameterTypeDescription
valuejava.lang.StringAnnotationType string name

Returns: AnnotationType - AnnotationType constant value