Searched refs:subtypeOf (Results 1 – 14 of 14) sorted by relevance
63 public boolean subtypeOf(CtClass clazz) throws NotFoundException { in subtypeOf() method in CtArray64 if (super.subtypeOf(clazz)) in subtypeOf()73 if (intfs[i].subtypeOf(clazz)) in subtypeOf()77 && getComponentType().subtypeOf(clazz.getComponentType()); in subtypeOf()
66 return clazz.subtypeOf(pool.get("java.io.Serializable")); in isSerializable()
330 public boolean subtypeOf(CtClass clazz) throws NotFoundException { in subtypeOf() method in CtClass
297 public boolean subtypeOf(CtClass clazz) throws NotFoundException { in subtypeOf() method in CtClassType314 if (supername != null && classPool.get(supername).subtypeOf(clazz)) in subtypeOf()318 if (classPool.get(ifs[i]).subtypeOf(clazz)) in subtypeOf()
185 Type wildcard = Types.subtypeOf(Number.class); in testNewArrayType_upperBoundedWildcard()186 assertEquals(Types.subtypeOf(Number[].class), Types.newArrayType(wildcard)); in testNewArrayType_upperBoundedWildcard()232 Types.subtypeOf(Object.class); in testNewWildcardType()234 Types.subtypeOf(int[][].class); in testNewWildcardType()253 Types.subtypeOf(int.class); in testNewWildcardType_primitiveTypeBound()262 Types.subtypeOf(String.class)); in testNewWildcardType_serializable()264 Types.subtypeOf(Object.class)); in testNewWildcardType_serializable()
457 TypeToken.of(Types.subtypeOf(Object.class)).getGenericSuperclass()); in testGetGenericSuperclass_wildcard_boundIsClass()459 TypeToken.of(Types.subtypeOf(Object[].class)).getGenericSuperclass()); in testGetGenericSuperclass_wildcard_boundIsClass()463 assertNull(TypeToken.of(Types.subtypeOf(CharSequence.class)).getGenericSuperclass()); in testGetGenericSuperclass_wildcard_boundIsInterface()465 TypeToken.of(Types.subtypeOf(CharSequence[].class)).getGenericSuperclass()); in testGetGenericSuperclass_wildcard_boundIsInterface()525 ASSERT.that(TypeToken.of(Types.subtypeOf(Object.class)).getGenericInterfaces()).isEmpty(); in testGetGenericInterfaces_wildcard_boundIsClass()526 ASSERT.that(TypeToken.of(Types.subtypeOf(Object[].class)).getGenericInterfaces()).isEmpty(); in testGetGenericInterfaces_wildcard_boundIsClass()531 assertThat(TypeToken.of(Types.subtypeOf(interfaceType.getType())).getGenericInterfaces()) in testGetGenericInterfaces_wildcard_boundIsInterface()602 Type wildcardType = Types.subtypeOf(Object[].class); in testAssignableWildcardBoundedByArrayToArrayClass()610 TypeToken<?> upperBounded = TypeToken.of(Types.subtypeOf(Object[].class)); in testAssignableArrayClassToBoundedWildcard()622 Type wildcardType = Types.subtypeOf(int[].class); in testAssignableWildcardBoundedByIntArrayToArrayClass()[all …]
57 WildcardType type = Types.subtypeOf(String.class); in testVisitWildcardType()
114 assertEquals(Types.subtypeOf(String.class), new TypeResolver() in testWhere_parameterizedTypeMapping()
73 return subtypeOf(newArrayType(upperBounds[0])); in newArrayType()158 @VisibleForTesting static WildcardType subtypeOf(Type upperBound) { in subtypeOf() method in Types218 return subtypeOf(componentType); in subtypeOfComponentType()
90 if (clazz.subtypeOf(declClazz)) in matchClass()
247 boolean addMeta = !clazz.subtypeOf(mlevel); in modifyClassfile()
274 if (cache2.subtypeOf(cache)) { in update()
267 return type.clazz.subtypeOf(clazz); in isAssignableFrom()
247 if (clazz.subtypeOf(lookupClassByJvmName(cname))) in compareSignature()