Package org.eclipse.jface.text.source
Interface IAnnotationAccess
-
- All Known Implementing Classes:
DefaultMarkerAnnotationAccess
public interface IAnnotationAccessAn annotation access provides access to information that is not available via the API ofAnnotation. 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:IAnnotationAccessExtensionsince version 3.0 replacing all methods in that interfaceIAnnotationAccessExtension2since version 3.2 allowing to set a quick assist assistant to an annotation access.
Clients usually implement this interface and its extension interfaces.
- Since:
- 2.1
- See Also:
IAnnotationAccessExtension,Annotation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ObjectgetType(Annotation annotation)Deprecated.useAnnotation.getType()booleanisMultiLine(Annotation annotation)Deprecated.assumed to always returntruebooleanisTemporary(Annotation annotation)Deprecated.useAnnotation.isPersistent()
-
-
-
Method Detail
-
getType
@Deprecated Object getType(Annotation annotation)
Deprecated.useAnnotation.getType()Returns the type of the given annotation.- Parameters:
annotation- the annotation- Returns:
- the type of the given annotation or
nullif it has none.
-
isMultiLine
@Deprecated boolean isMultiLine(Annotation annotation)
Deprecated.assumed to always returntrueReturns whether the given annotation spans multiple lines.- Parameters:
annotation- the annotation- Returns:
trueif the annotation spans multiple lines,falseotherwise
-
isTemporary
@Deprecated boolean isTemporary(Annotation annotation)
Deprecated.useAnnotation.isPersistent()Returns whether the given annotation is temporary rather than persistent.- Parameters:
annotation- the annotation- Returns:
trueif the annotation is temporary,falseotherwise
-
-