Home
last modified time | relevance | path

Searched refs:ownerType (Results 1 – 9 of 9) sorted by relevance

/external/guice/core/src/com/google/inject/internal/
DMoreTypes.java353 private final Type ownerType; field in MoreTypes.ParameterizedTypeImpl
357 public ParameterizedTypeImpl(Type ownerType, Type rawType, Type... typeArguments) { in ParameterizedTypeImpl() argument
359 ensureOwnerType(ownerType, rawType); in ParameterizedTypeImpl()
361 this.ownerType = ownerType == null ? null : canonicalize(ownerType); in ParameterizedTypeImpl()
383 return ownerType; in getOwnerType()
388 if (ownerType != null && !MoreTypes.isFullySpecified(ownerType)) { in isFullySpecified()
413 return Arrays.hashCode(typeArguments) ^ rawType.hashCode() ^ hashCodeOrZero(ownerType); in hashCode()
432 private static void ensureOwnerType(Type ownerType, Type rawType) { in ensureOwnerType() argument
436 ownerType != null || rawTypeAsClass.getEnclosingClass() == null, in ensureOwnerType()
440 ownerType == null || rawTypeAsClass.getEnclosingClass() != null, in ensureOwnerType()
/external/guava/guava/src/com/google/common/reflect/
DTypes.java89 @Nullable Type ownerType, Class<?> rawType, Type... arguments) { in newParameterizedTypeWithOwner()
90 if (ownerType == null) { in newParameterizedTypeWithOwner()
96 return new ParameterizedTypeImpl(ownerType, rawType, arguments); in newParameterizedTypeWithOwner()
260 private final @Nullable Type ownerType; field in Types.ParameterizedTypeImpl
264 ParameterizedTypeImpl(@Nullable Type ownerType, Class<?> rawType, Type[] typeArguments) { in ParameterizedTypeImpl() argument
268 this.ownerType = ownerType; in ParameterizedTypeImpl()
285 return ownerType; in getOwnerType()
291 if (ownerType != null && JavaVersion.CURRENT.jdkTypeDuplicatesOwnerName()) { in toString()
292 builder.append(JavaVersion.CURRENT.typeName(ownerType)).append('.'); in toString()
304 return (ownerType == null ? 0 : ownerType.hashCode()) in hashCode()
DTypeToken.java1121 Type ownerType = type.getOwnerTypeIfPresent();
1122 if (ownerType != null && of(ownerType).isSubtypeOf(supertype)) {
1162 Type ownerType =
1167 if ((typeParams.length > 0) || ((ownerType != null) && ownerType != cls.getEnclosingClass())) {
1171 of(Types.newParameterizedTypeWithOwner(ownerType, cls, typeParams));
/external/guava/android/guava/src/com/google/common/reflect/
DTypes.java89 @NullableDecl Type ownerType, Class<?> rawType, Type... arguments) { in newParameterizedTypeWithOwner()
90 if (ownerType == null) { in newParameterizedTypeWithOwner()
96 return new ParameterizedTypeImpl(ownerType, rawType, arguments); in newParameterizedTypeWithOwner()
263 @NullableDecl private final Type ownerType; field in Types.ParameterizedTypeImpl
267 ParameterizedTypeImpl(@NullableDecl Type ownerType, Class<?> rawType, Type[] typeArguments) { in ParameterizedTypeImpl() argument
271 this.ownerType = ownerType; in ParameterizedTypeImpl()
288 return ownerType; in getOwnerType()
294 if (ownerType != null && JavaVersion.CURRENT.jdkTypeDuplicatesOwnerName()) { in toString()
295 builder.append(JavaVersion.CURRENT.typeName(ownerType)).append('.'); in toString()
307 return (ownerType == null ? 0 : ownerType.hashCode()) in hashCode()
DTypeToken.java1124 Type ownerType = type.getOwnerTypeIfPresent();
1125 if (ownerType != null && of(ownerType).isSubtypeOf(supertype)) {
1166 Type ownerType =
1171 if ((typeParams.length > 0) || ((ownerType != null) && ownerType != cls.getEnclosingClass())) {
1175 of(Types.newParameterizedTypeWithOwner(ownerType, cls, typeParams));
/external/javapoet/src/main/java/com/squareup/javapoet/
DParameterizedTypeName.java130 ParameterizedType ownerType = (type.getOwnerType() instanceof ParameterizedType) in get() local
134 return (ownerType != null) in get()
135 ? get(ownerType, map).nestedClass(rawType.simpleName(), typeArguments) in get()
/external/guice/core/src/com/google/inject/util/
DTypes.java59 Type ownerType, Type rawType, Type... typeArguments) { in newParameterizedTypeWithOwner() argument
60 return new ParameterizedTypeImpl(ownerType, rawType, typeArguments); in newParameterizedTypeWithOwner()
/external/guice/core/src/com/google/inject/
DTypeLiteral.java185 Type ownerType = original.getOwnerType(); in resolveType() local
186 Type newOwnerType = resolveType(ownerType); in resolveType()
187 boolean changed = newOwnerType != ownerType; in resolveType()
/external/kotlinx.atomicfu/atomicfu-transformer/src/main/kotlin/kotlinx/atomicfu/transformer/
DAtomicFUTransformer.kt114 val ownerType: Type = getObjectType(owner) in toString() constant in kotlinx.atomicfu.transformer.FieldInfo
877 lv.desc = f.ownerType.descriptor in fixupOperationOnAtomicVar()