android.test.suitebuilder.annotation
Class HasMethodAnnotation
java.lang.Object
android.test.suitebuilder.annotation.HasMethodAnnotation
- All Implemented Interfaces:
- com.android.internal.util.Predicate<TestMethod>
class HasMethodAnnotation
- extends Object
- implements com.android.internal.util.Predicate<TestMethod>
A predicate that checks to see if a the method represented by TestMethod has a certain
annotation on it. Consider using the public HasAnnotation class instead of this class.
Not needed for 1.0 SDK.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HasMethodAnnotation
public HasMethodAnnotation(Class<? extends Annotation> annotationClass)
apply
public boolean apply(TestMethod testMethod)
- Specified by:
apply in interface com.android.internal.util.Predicate<TestMethod>
Please submit a feedback, bug or feature