Home
last modified time | relevance | path

Searched refs:parameterType (Results 1 – 23 of 23) sorted by relevance

/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/
DMethodDescriptor.java93 final Type parameterType = parameterTypes[i]; in invoke() local
95 args[i] = convertParameter(parameters, i, parameterType); in invoke()
97 args[i] = MethodDescriptor.getDefaultValue(parameterType, annotations[i]); in invoke()
120 Class<?> parameterType = parameterTypes[i]; in invoke() local
123 args[i] = convertParameter(parameters, parameterType, parameterName); in invoke()
125 args[i] = MethodDescriptor.getDefaultValue(parameterType, annotations[i]); in invoke()
351 private static String getHelpForParameter(Type parameterType, Annotation[] annotations) { in getHelpForParameter() argument
354 appendTypeName(result, parameterType); in getHelpForParameter()
360 result.append(", default " + getDefaultValue(parameterType, annotations)); in getHelpForParameter()
491 public static Object getDefaultValue(Type parameterType, Annotation[] annotations) { in getDefaultValue() argument
[all …]
/external/proguard/src/proguard/optimize/
DTailRecursionSimplifier.java296 String parameterType = internalTypeEnumeration.nextType(); in storeParameters() local
297 parameterTypes[parameterIndex] = parameterType; in storeParameters()
298 if (ClassUtil.internalTypeSize(parameterType) == 2) in storeParameters()
310 String parameterType = parameterTypes[parameterIndex]; in storeParameters() local
311 if (parameterType != null) in storeParameters()
314 switch (parameterType.charAt(0)) in storeParameters()
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/instrumentation/
DJavassistHelper.java116 CtClass parameterType = parameterTypes[i]; in getSignature() local
117 boolean isArray = parameterType.isArray(); in getSignature()
118 CtClass arrayType = parameterType.getComponentType(); in getSignature()
133 if (parameterType.isPrimitive()) { in getSignature()
/external/proguard/src/proguard/optimize/peephole/
DMethodInliner.java272 String parameterType = internalTypeEnumeration.nextType(); in storeParameters() local
273 parameterTypes[parameterIndex] = parameterType; in storeParameters()
274 if (ClassUtil.internalTypeSize(parameterType) == 2) in storeParameters()
286 String parameterType = parameterTypes[parameterIndex]; in storeParameters() local
287 if (parameterType != null) in storeParameters()
290 switch (parameterType.charAt(0)) in storeParameters()
/external/proguard/src/proguard/optimize/evaluation/
DSimpleEnumUseChecker.java381 …x, int parameterCount, int parameterOffset, int parameterSize, String parameterType, Clazz referen… in visitParameter() argument
386 if (ClassUtil.isInternalClassType(parameterType) && in visitParameter()
388 ClassUtil.isInternalArrayType(parameterType) ? in visitParameter()
389 parameterType : in visitParameter()
390 ClassUtil.internalClassNameFromClassType(parameterType))) in visitParameter()
400 …("is stored as more general type ["+parameterType+"] in field ["+clazz.getName()+"."+member.getNam… in visitParameter()
401 …("is passed as more general argument #"+parameterIndex+" ["+parameterType+"] to ["+clazz.getName()… in visitParameter()
DSimpleEnumUseSimplifier.java435 …x, int parameterCount, int parameterOffset, int parameterSize, String parameterType, Clazz referen… in visitParameter() argument
439 if (!ClassUtil.isInternalPrimitiveType(parameterType.charAt(0)) && in visitParameter()
/external/emma/core/java12/com/vladium/jcd/lib/
DTypes.java414 parameterType (type); in typeDescriptor()
426 parameterType (_parameterTypes [p]); in parameterTypes()
437 parameterType (_returnType); in returnType()
441 private void parameterType (Class _parameterType) in parameterType() method in Types.signatureCompiler
458 emit ('['); parameterType (_parameterType.getComponentType ()); in parameterType()
/external/guava/guava-tests/test/com/google/common/reflect/
DTypesTest.java214 ParameterizedType parameterType = (ParameterizedType) in getWildcardType() local
218 return (WildcardType) parameterType.getActualTypeArguments()[0]; in getWildcardType()
289 ParameterizedType parameterType = (ParameterizedType) in getTypeVariable() local
293 return (TypeVariable<?>) parameterType.getActualTypeArguments()[0]; in getTypeVariable()
DTypeTokenResolutionTest.java440 ParameterizedType parameterType = (ParameterizedType)
443 parameterType = (ParameterizedType)
444 TypeToken.of(this.getClass()).resolveType(parameterType).getType();
445 return parameterType.getActualTypeArguments()[0];
DTypeTokenTest.java1194 TypeToken<?> parameterType = type.resolveType( in testWildcardCaptured_methodParameter_upperBound() local
1196 assertEquals(List.class, parameterType.getRawType()); in testWildcardCaptured_methodParameter_upperBound()
1197 assertFalse(parameterType.getType().toString(), in testWildcardCaptured_methodParameter_upperBound()
1198 parameterType.isAssignableFrom(new TypeToken<List<Integer>>() {})); in testWildcardCaptured_methodParameter_upperBound()
/external/proguard/src/proguard/classfile/visitor/
DParameterVisitor.java54 String parameterType, in visitParameter() argument
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DMapKeyGenerator.java140 TypeName parameterType = TypeNames.forTypeMirror(annotationMember.getReturnType()); in writeCreateMethod() local
141 createMethod.addParameter(parameterType, parameterName); in writeCreateMethod()
DComponentValidator.java270 TypeMirror parameterType = parameterTypes.get(i); in validateSubcomponentMethod() local
271 Optional<TypeElement> moduleType = parameterType.accept( in validateSubcomponentMethod()
306 parameterType), in validateSubcomponentMethod()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DMethodCallExprContext.java196 ResolvedType parameterType = parameter.getType(); in solveMethodAsUsage() local
198 parameterType = parameterType.asArrayType().getComponentType(); in solveMethodAsUsage()
200 inferTypes(argumentsTypes.get(i), parameterType, derivedValues); in solveMethodAsUsage() local
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DMethodCallSite.java30 return isStatic() ? null : type().parameterType(0); in thisType()
DInvokeDynamicSupport.java132 Class<?> shadowType = mh.type().parameterType(0); in bindCallSite()
/external/guice/core/src/com/google/inject/spi/
DInjectionPoint.java115 for (TypeLiteral<?> parameterType : type.getParameterTypes(member)) { in forMember()
118 Key<?> key = Annotations.getKey(parameterType, member, parameterAnnotations, errors); in forMember()
903 for (Class parameterType : parameterTypes) { in Signature()
904 h = h * 31 + parameterType.hashCode(); in Signature()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider.java312 for (TypeLiteral<?> parameterType : factoryType.getParameterTypes(method)) { in createMethodMapping()
313 parameterTypes.add(parameterType.getType()); in createMethodMapping()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/
DMethodResolutionLogic.java300 ResolvedType parameterType = parameter.getType(); in isApplicable() local
302 parameterType = parameterType.asArrayType().getComponentType(); in isApplicable()
304 inferTypes(argumentsTypes.get(j), parameterType, derivedValues); in isApplicable() local
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DMethodDefinition.java320 String parameterType = parameter.getType(); in writeParameters() local
332 writer.write(parameterType); in writeParameters()
348 if (TypeUtils.isWideType(parameterType)) { in writeParameters()
/external/testng/src/main/java/org/testng/internal/
DParameters.java184 for (Class parameterType : parameterTypes) { in checkParameterTypes()
185 if (injectedTypes.contains(parameterType)) { in checkParameterTypes()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_MethodCallExprContext.txt124 …Line 240) parameterType.asArrayType().getComponentType() ==> com.github.javaparser.symbolsolver.mo…
125 …Line 240) parameterType.asArrayType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type…
126 …Line 242) inferTypes(argumentsTypes.get(i), parameterType, derivedValues) ==> com.github.javaparse…
Dcom_github_javaparser_symbolsolver_resolution_MethodResolutionLogic.txt186 …Line 290) parameterType.asArrayType().getComponentType() ==> com.github.javaparser.symbolsolver.mo…
187 …Line 290) parameterType.asArrayType() ==> com.github.javaparser.symbolsolver.model.typesystem.Type…
188 …Line 292) inferTypes(argumentsTypes.get(j), parameterType, derivedValues) ==> com.github.javaparse…