public interface IAnnotationAccess
Annotation. With version
3.0 all this information is now available from the annotation itself.
In order to provide backward compatibility for clients of
IAnnotationAccess, extension interfaces are used as a means
of evolution. The following extension interfaces exist:
IAnnotationAccessExtension since
version 3.0 replacing all methods in that interfaceIAnnotationAccessExtension2 since
version 3.2 allowing to set a quick assist assistant to an annotation access.Clients usually implement this interface and its extension interfaces.
IAnnotationAccessExtension,
Annotation| Modifier and Type | Method and Description |
|---|---|
Object |
getType(Annotation annotation)
Deprecated.
use
Annotation.getType() |
boolean |
isMultiLine(Annotation annotation)
Deprecated.
assumed to always return
true |
boolean |
isTemporary(Annotation annotation)
Deprecated.
use
Annotation.isPersistent() |
@Deprecated Object getType(Annotation annotation)
Annotation.getType()annotation - the annotationnull if it has none.@Deprecated boolean isMultiLine(Annotation annotation)
trueannotation - the annotationtrue if the annotation spans multiple lines,
false otherwise@Deprecated boolean isTemporary(Annotation annotation)
Annotation.isPersistent()annotation - the annotationtrue if the annotation is temporary,
false otherwise
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.