Home
last modified time | relevance | path

Searched refs:ownerType (Results 1 – 5 of 5) 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.java91 @Nullable Type ownerType, Class<?> rawType, Type... arguments) { in newParameterizedTypeWithOwner()
92 if (ownerType == null) { in newParameterizedTypeWithOwner()
98 return new ParameterizedTypeImpl(ownerType, rawType, arguments); in newParameterizedTypeWithOwner()
267 private final Type ownerType; field in Types.ParameterizedTypeImpl
272 @Nullable Type ownerType, Class<?> rawType, Type[] typeArguments) { in ParameterizedTypeImpl()
276 this.ownerType = ownerType; in ParameterizedTypeImpl()
290 return ownerType; in getOwnerType()
295 if (ownerType != null) { in toString()
296 builder.append(JavaVersion.CURRENT.typeName(ownerType)).append('.'); in toString()
306 return (ownerType == null ? 0 : ownerType.hashCode()) in hashCode()
/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()