|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An annotation access provides access to information that is not available via
the API of 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 interfaceClients usually implement this interface and its extension interfaces.
IAnnotationAccessExtension
,
Annotation
Method Summary | |
---|---|
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() |
Method Detail |
public Object getType(Annotation annotation)
Annotation.getType()
annotation
- the annotation
null
if it has none.public boolean isMultiLine(Annotation annotation)
true
annotation
- the annotation
true
if the annotation spans multiple lines,
false
otherwisepublic boolean isTemporary(Annotation annotation)
Annotation.isPersistent()
annotation
- the annotation
true
if the annotation is temporary,
false
otherwise
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.