de.cau.cs.kieler.karma
Class AnnotationExistsCondition
java.lang.Object
de.cau.cs.kieler.karma.ICustomCondition<EObject>
de.cau.cs.kieler.karma.AnnotationExistsCondition
- All Implemented Interfaces:
- ICondition<EObject>
public class AnnotationExistsCondition
- extends ICustomCondition<EObject>
This condition is true if the annotation identified by the key exists in a given EObject.
- Rating

Method Summary |
boolean |
evaluate(EObject object)
Evaluate this condition on the given object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationExistsCondition
public AnnotationExistsCondition()
evaluate
public boolean evaluate(EObject object)
- Evaluate this condition on the given object.
- Parameters:
object
- a target object
- Returns:
- true if the condition is met for the object