Searched refs:intersectionType (Results 1 – 3 of 3) sorted by relevance
117 IntersectionType intersectionType = type.asIntersectionType(); in parseIntersectionType() local118 assertEquals(2, intersectionType.getElements().size()); in parseIntersectionType()119 assertTrue(intersectionType.getElements().get(0) instanceof ClassOrInterfaceType); in parseIntersectionType()120 …assertEquals("Runnable", intersectionType.getElements().get(0).asClassOrInterfaceType().getNameAsS… in parseIntersectionType()121 assertTrue(intersectionType.getElements().get(1) instanceof ClassOrInterfaceType); in parseIntersectionType()122 …assertEquals("Serializable", intersectionType.getElements().get(1).asClassOrInterfaceType().getNam… in parseIntersectionType()
205 int intersectionType = HitType.INVALID; in testAttackAgainstVulnerability() local208 for (int x = 0; x < attackCount && intersectionType == HitType.INVALID; x++) { in testAttackAgainstVulnerability()220 intersectionType = hitType; in testAttackAgainstVulnerability()229 return intersectionType; in testAttackAgainstVulnerability()
1000 @Test public void intersectionType() { in intersectionType() method in TypeSpecTest