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 type
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.