public class AnnotationPreferenceLookup extends Object
Constructor and Description |
---|
AnnotationPreferenceLookup()
Creates a new annotation preference lookup object.
|
Modifier and Type | Method and Description |
---|---|
AnnotationPreference |
getAnnotationPreference(Annotation annotation)
Returns the annotation preference of a given annotation.
|
AnnotationPreference |
getAnnotationPreference(String annotationType)
Returns the annotation preference defined for the given annotation type.
|
AnnotationPreference |
getAnnotationPreferenceFragment(String annotationType)
Returns the annotation preference fragment defined for the given
annotation type.
|
public AnnotationPreferenceLookup()
public AnnotationPreference getAnnotationPreference(Annotation annotation)
annotation
- the annotationnull
public AnnotationPreference getAnnotationPreference(String annotationType)
annotationType
- the annotation typenull
public AnnotationPreference getAnnotationPreferenceFragment(String annotationType)
For internal use only. Not intended to be called by clients.
annotationType
- the annotation typeGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.