Searched refs:getAnnotation (Results 1 – 14 of 14) sorted by relevance
55 Policy.class.getAnnotation(IncludeNone.class);57 Policy.class.getAnnotation(IncludeRunOnDeviceOwnerUser.class);60 Policy.class.getAnnotation(IncludeRunOnNonAffiliatedDeviceOwnerSecondaryUser.class);63 Policy.class.getAnnotation(IncludeRunOnAffiliatedDeviceOwnerSecondaryUser.class);66 Policy.class.getAnnotation(IncludeRunOnAffiliatedProfileOwnerSecondaryUser.class);69 Policy.class.getAnnotation(IncludeRunOnProfileOwnerProfile.class);72 Policy.class.getAnnotation(75 Policy.class.getAnnotation(IncludeRunOnParentOfProfileOwner.class);78 Policy.class.getAnnotation(IncludeRunOnParentOfCorporateOwnedProfileOwner.class);80 Policy.class.getAnnotation(IncludeRunOnProfileOwnerPrimaryUser.class);
137 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { in getAnnotation() method in BedsteadJUnit4.BedsteadFrameworkMethod164 if (annotation.annotationType().getAnnotation(RepeatingAnnotation.class) != null) { in getReplacementAnnotations()176 if (annotation.annotationType().getAnnotation(ParameterizedAnnotation.class) != null in getReplacementAnnotations()260 boolean o1HasAnnotation = o1.getAnnotation(annotation.annotationType()) != null; in sortMethodsByBedsteadAnnotations()261 boolean o2HasAnnotation = o2.getAnnotation(annotation.annotationType()) != null; in sortMethodsByBedsteadAnnotations()310 if (annotation.annotationType().getAnnotation(ParameterizedAnnotation.class) != null) { in getParameterizedAnnotations()332 policy.getAnnotation(EnterprisePolicy.class); in parseEnterpriseAnnotations()343 policy.getAnnotation(EnterprisePolicy.class); in parseEnterpriseAnnotations()354 policy.getAnnotation(EnterprisePolicy.class); in parseEnterpriseAnnotations()
215 annotationType.getAnnotation(EnsureHasNoProfileAnnotation.class);224 annotationType.getAnnotation(EnsureHasProfileAnnotation.class);247 annotationType.getAnnotation(EnsureHasNoUserAnnotation.class);254 annotationType.getAnnotation(EnsureHasUserAnnotation.class);264 annotationType.getAnnotation(RequireRunOnUserAnnotation.class);271 annotationType.getAnnotation(RequireRunOnProfileAnnotation.class);485 if (annotation.annotationType().getAnnotation(RequiresBedsteadJUnit4.class) != null486 || annotation.annotationType().getAnnotation(575 if (method.getAnnotation(BeforeClass.class) != null576 || method.getAnnotation(AfterClass.class) != null) {
71 .getAnnotation(IgnoreOnHeadlessSystemUserMode.class); in apply()84 .getAnnotation(RequiresAdditionalFeatures.class)); in apply()86 .getAnnotation(RequiresProfileOwnerSupport.class)); in apply()92 clazz.getAnnotation(RequiresAdditionalFeatures.class)); in apply()94 clazz.getAnnotation(RequiresProfileOwnerSupport.class)); in apply()111 .getAnnotation(DoesNotRequireFeature.class); in apply()
43 if (cls.getAnnotation(Test.class) != null) { in isTestNgTestClass()49 if (m.getAnnotation(Test.class) != null) { in isTestNgTestClass()
60 final boolean hasAppModeFull = testMethod.getAnnotation(AppModeFull.class) != null; in verifyAppModeConsistency()61 final boolean hasAppModeInstant = testMethod.getAnnotation(AppModeInstant.class) != null; in verifyAppModeConsistency()
51 TargetLibrary library = (TargetLibrary) testClass.getAnnotation(TargetLibrary.class); in GtestRunner()
72 final Test annotation = method.getAnnotation(Test.class); in getTestMethod()
110 if (desc.getAnnotation(Ignore.class) == null) { in getChildren()
110 RemoteDpcManager r = interfaceClass.getAnnotation(RemoteDpcManager.class); in processRemoteDpcManagerInterface()165 if (method.getAnnotation(RemoteDpcAutomaticAdmin.class) != null) { in generateImplClass()
195 Annotation an = method.getAnnotation((Class) org.junit.Test.class); in initializeTestCases()
426 CddTest cddTest = m.getAnnotation(CddTest.class);
241 name: "getAnnotation"3158 name: "getAnnotation"3481 name: "getAnnotation"
525 name: "getAnnotation"4967 name: "getAnnotation"