org.springframework.roo.classpath.details
Class AnnotationMetadataUtils
java.lang.Object
org.springframework.roo.classpath.details.AnnotationMetadataUtils
public abstract class AnnotationMetadataUtils
- extends Object
Utilities to use with AnnotationMetadata
.
- Since:
- 1.0
- Author:
- Ben Alex
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationMetadataUtils
public AnnotationMetadataUtils()
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.