org.springframework.roo.classpath.details
Class AnnotationMetadataUtils

java.lang.Object
  extended by org.springframework.roo.classpath.details.AnnotationMetadataUtils

public abstract class AnnotationMetadataUtils
extends Object

Utilities to use with AnnotationMetadata.

Since:
1.0
Author:
Ben Alex

Constructor Summary
AnnotationMetadataUtils()
           
 
Method Summary
static String toSourceForm(AnnotationMetadata annotation)
          Converts the annotation into a string-based form.
static String toSourceForm(AnnotationMetadata annotation, org.springframework.roo.model.ImportRegistrationResolver resolver)
          Converts the annotation into a string-based form.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationMetadataUtils

public AnnotationMetadataUtils()
Method Detail

toSourceForm

public static final String toSourceForm(AnnotationMetadata annotation)
Converts the annotation into a string-based form.

Parameters:
annotation - to covert (required)
Returns:
a string-based representation (never null)

toSourceForm

public static final String toSourceForm(AnnotationMetadata annotation,
                                        org.springframework.roo.model.ImportRegistrationResolver resolver)
Converts the annotation into a string-based form.

Parameters:
annotation - to covert (required)
resolver - to use for automatic addition of used types (may be null)
Returns:
a string-based representation (never null)


Copyright © 2009-2010 VMware, Inc. All Rights Reserved.