OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:resolveType
(Results
1 - 25
of
149
) sorted by null
1
2
3
4
5
6
/external/guava/guava-tests/test/com/google/common/reflect/
TypeResolverTest.java
35
assertEquals(t, new TypeResolver().
resolveType
(t));
40
assertEquals(String.class, new TypeResolver().where(t, String.class).
resolveType
(t));
47
new TypeResolver().where(t1, t2).where(t2, String.class).
resolveType
(t1));
53
assertEquals(t, resolver.where(t, t).
resolveType
(t));
59
assertEquals(t, resolver.where(t, t).
resolveType
(t));
65
assertEquals(t, resolver.where(t, t).
resolveType
(t));
71
resolver.where(String.class, String.class).
resolveType
(String.class));
77
assertEquals(t, resolver.where(t, t).
resolveType
(t));
92
assertEquals(t2, new TypeResolver().where(t1, t2).
resolveType
(t1));
99
.
resolveType
(t))
[
all
...]
TypeTokenResolutionTest.java
123
ParameterizedType resolved = (ParameterizedType) typeResolver.
resolveType
(
143
TypeToken.of(IntegerStringFunction.class).
resolveType
(fType)
149
TypeToken.of(IntegerStringFunction.class).
resolveType
(predicateParameterType)
232
TypeToken.of(ParameterizedOuter.class).
resolveType
(fieldType).getType());
238
assertEquals(String.class, TypeToken.of(this.getClass()).
resolveType
(String.class).getType());
241
.
resolveType
(Iterable.class.getTypeParameters()[0]).getType());
244
.
resolveType
(Iterable.class.getTypeParameters()[0]).getType());
246
TypeToken.of(this.getClass()).
resolveType
(null);
264
assertEquals(String.class, TypeToken.of(context).
resolveType
(keyType).getType());
266
TypeToken.of(context).
resolveType
(valueType).getType())
[
all
...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
BuiltInVariableExpr.java
41
protected ModelClass
resolveType
(ModelAnalyzer modelAnalyzer) {
42
ModelClass modelClass = super.
resolveType
(modelAnalyzer);
ArgListExpr.java
51
protected ModelClass
resolveType
(ModelAnalyzer modelAnalyzer) {
GroupExpr.java
31
protected ModelClass
resolveType
(ModelAnalyzer modelAnalyzer) {
SymbolExpr.java
41
protected ModelClass
resolveType
(ModelAnalyzer modelAnalyzer) {
TwoWayListenerExpr.java
38
protected ModelClass
resolveType
(ModelAnalyzer modelAnalyzer) {
ViewFieldExpr.java
49
protected ModelClass
resolveType
(ModelAnalyzer modelAnalyzer) {
BitShiftExpr.java
38
protected ModelClass
resolveType
(ModelAnalyzer modelAnalyzer) {
CastExpr.java
35
protected ModelClass
resolveType
(ModelAnalyzer modelAnalyzer) {
ComparisonExpr.java
38
protected ModelClass
resolveType
(ModelAnalyzer modelAnalyzer) {
InstanceOfExpr.java
48
protected ModelClass
resolveType
(ModelAnalyzer modelAnalyzer) {
UnaryExpr.java
53
protected ModelClass
resolveType
(ModelAnalyzer modelAnalyzer) {
MethodCallExpr.java
56
resolveType
(modelAnalyzer);
84
protected ModelClass
resolveType
(ModelAnalyzer modelAnalyzer) {
IdentifierExpr.java
65
protected ModelClass
resolveType
(final ModelAnalyzer modelAnalyzer) {
ListenerExpr.java
49
protected ModelClass
resolveType
(ModelAnalyzer modelAnalyzer) {
BracketExpr.java
40
protected ModelClass
resolveType
(ModelAnalyzer modelAnalyzer) {
MathExpr.java
38
protected ModelClass
resolveType
(ModelAnalyzer modelAnalyzer) {
TernaryExpr.java
64
protected ModelClass
resolveType
(ModelAnalyzer modelAnalyzer) {
/external/guice/core/src/com/google/inject/
TypeLiteral.java
181
return TypeLiteral.get(
resolveType
(toResolve));
184
Type
resolveType
(Type toResolve) {
197
Type newComponentType =
resolveType
(componentType);
205
Type newOwnerType =
resolveType
(ownerType);
210
Type resolvedTypeArgument =
resolveType
(args[t]);
230
Type lowerBound =
resolveType
(originalLowerBound[0]);
235
Type upperBound =
resolveType
(originalUpperBound[0]);
/external/guice/core/test/com/google/inject/
TypeLiteralTypeResolutionTest.java
249
assertEquals(String.class, typeResolver.
resolveType
(mapK));
252
assertEquals(String.class, typeResolver.
resolveType
(mapK));
257
assertEquals(String.class, typeResolver.
resolveType
(mapK));
260
assertEquals(String.class, typeResolver.
resolveType
(mapK));
263
assertEquals(String.class, typeResolver.
resolveType
(mapK));
264
assertEquals(String.class, typeResolver.
resolveType
(hashMapK));
265
assertEquals(entryStringInteger, typeResolver.
resolveType
(setEntryKV));
/external/guava/guava/src/com/google/common/reflect/
TypeResolver.java
42
* with {@link #where} and types are resolved using {@link #
resolveType
}.
47
* {@link TypeToken#
resolveType
} since it's simpler and more type safe. This class should only be
77
* #
resolveType
resolve} {@code ParameterizedType List<T>} to {@code List<String>}, and resolve
157
public Type
resolveType
(Type type) {
176
result[i] =
resolveType
(types[i]);
190
Type resolvedComponentType =
resolveType
(componentType);
196
Type resolvedOwner = (owner == null) ? null :
resolveType
(owner);
197
Type resolvedRawType =
resolveType
(type.getRawType());
304
return new TypeResolver(forDependants).
resolveType
(type);
TypeToken.java
57
* #
resolveType
} etc.
144
this.runtimeType = of(declaringClass).
resolveType
(captured).runtimeType;
220
return new SimpleTypeToken<T>(resolver.
resolveType
(runtimeType));
245
* new TypeToken<List<String>>() {}.
resolveType
(
249
public final TypeToken<?>
resolveType
(Type type) {
255
return of(resolver.
resolveType
(type));
260
types[i] =
resolveType
(types[i]).getType();
266
TypeToken<?> supertype =
resolveType
(type);
499
return
resolveType
(super.getGenericReturnType()).getType();
526
return
resolveType
(super.getGenericReturnType()).getType()
[
all
...]
/external/guava/guava-testlib/src/com/google/common/testing/
DummyProxy.java
80
return dummyReturnValue(interfaceType.
resolveType
(method.getGenericReturnType()));
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
ExprTest.java
44
protected ModelClass
resolveType
(ModelAnalyzer modelAnalyzer) {
83
protected ModelClass
resolveType
(ModelAnalyzer modelAnalyzer) {
Completed in 266 milliseconds
1
2
3
4
5
6