/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
BuilderProtoReference.java | 46 @Nonnull final BuilderTypeReference returnType; 50 @Nonnull BuilderTypeReference returnType) { 53 this.returnType = returnType; 61 return returnType.getType(); 74 return returnType.equals(other.returnType) && 82 int res = returnType.compareTo(o.returnType);
|
BuilderProtoPool.java | 58 @Nonnull String returnType) { 59 ProtoKey key = new Key(parameters, returnType); 66 context.stringPool.internString(MethodUtil.getShorty(parameters, returnType)), 68 context.typePool.internType(returnType)); 82 return key.returnType; 116 @Nonnull private final String returnType; 118 public Key(@Nonnull List<? extends CharSequence> parameters, @Nonnull String returnType) { 120 this.returnType = returnType; 128 return returnType; [all...] |
BuilderMethodPool.java | 71 @Nonnull String returnType) { 72 return internMethod(new MethodKey(definingClass, name, parameters, returnType)); 119 @Nonnull private final String returnType; 122 @Nonnull List<? extends CharSequence> parameterTypes, @Nonnull String returnType) { 126 this.returnType = returnType; 142 return returnType;
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/checks/ |
FunctionRecord.java | 11 final String returnType; 16 boolean isConstructor, String returnType, TypeRecord parentType, 22 this.returnType = returnType; 32 return returnType != null;
|
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/ |
XPathExpressionImpl.java | 97 public Object eval(Object item, QName returnType) 100 return getResultAsType( resultObject, returnType ); 142 * <p>If <code>returnType</code> is not one of the types defined 149 * If <code>returnType</code> is <code>null</code>, then a 153 * @param returnType The desired return type. 157 * <code>returnType</code>. 160 * @throws IllegalArgumentException If <code>returnType</code> is not one 162 * @throws NullPointerException If <code>returnType</code> is 165 public Object evaluate(Object item, QName returnType) 168 if ( returnType == null ) [all...] |
XPathImpl.java | 232 * <p>If <code>returnType</code> is not one of the types defined in {@link XPathConstants} ( 243 * If <code>expression</code> or <code>returnType</code> is <code>null</code>, then a 248 * @param returnType The desired return type. 250 * @return Result of evaluating an XPath expression as an <code>Object</code> of <code>returnType</code>. 253 * @throws IllegalArgumentException If <code>returnType</code> is not one of the types defined in {@link XPathConstants}. 254 * @throws NullPointerException If <code>expression</code> or <code>returnType</code> is <code>null</code>. 256 public Object evaluate(String expression, Object item, QName returnType) 264 if ( returnType == null ) { 267 new Object[] {"returnType"} ); 270 // Checking if requested returnType is supported. returnType need t [all...] |
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
MethodRef.java | 26 public MethodRef(String declClass, String[] argTypes, String returnType, 30 mReturnType = returnType; 74 String returnType) { 83 builder.append(returnType);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/ |
ImmutableMethodReference.java | 47 @Nonnull protected final String returnType; 52 @Nonnull String returnType) { 56 this.returnType = returnType; 62 @Nonnull String returnType) { 66 this.returnType = returnType; 84 @Nonnull @Override public String getReturnType() { return returnType; }
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
XPathExpression.java | 90 * <p>If <code>returnType</code> is not one of the types defined in {@link XPathConstants}, 96 * If <code>returnType</code> is <code>null</code>, then a <code>NullPointerException</code> is thrown.</p> 99 * @param returnType The desired return type. 102 * <code>returnType</code>. 105 * @throws IllegalArgumentException If <code>returnType</code> is not one of the types defined in {@link XPathConstants}. 106 * @throws NullPointerException If <code>returnType</code> is <code>null</code>. 108 public Object evaluate(Object item, QName returnType) 114 * <p>This method calls {@link #evaluate(Object item, QName returnType)} with a <code>returnType</code> of 139 * {@link #evaluate(Object item, QName returnType)} on the resulting document object.</p [all...] |
XPath.java | 189 * <p>If <code>returnType</code> is not one of the types defined in {@link XPathConstants} ( 200 * If <code>expression</code> or <code>returnType</code> is <code>null</code>, then a 205 * @param returnType The desired return type. 207 * @return Result of evaluating an XPath expression as an <code>Object</code> of <code>returnType</code>. 210 * @throws IllegalArgumentException If <code>returnType</code> is not one of the types defined in {@link XPathConstants}. 211 * @throws NullPointerException If <code>expression</code> or <code>returnType</code> is <code>null</code>. 213 public Object evaluate(String expression, Object item, QName returnType) 219 * <p>This method calls {@link #evaluate(String expression, Object item, QName returnType)} with a <code>returnType</code> of 247 * {@link #evaluate(String expression, Object item, QName returnType)} on the resulting document object.</p [all...] |
/external/dexmaker/src/main/java/com/google/dexmaker/ |
MethodId.java | 33 final TypeId<R> returnType; 41 MethodId(TypeId<D> declaringType, TypeId<R> returnType, String name, TypeList parameters) { 42 if (declaringType == null || returnType == null || name == null || parameters == null) { 46 this.returnType = returnType; 58 return returnType; 92 result.append(returnType.name); 105 && ((MethodId<?, ?>) o).returnType.equals(returnType); 113 result = 31 * result + returnType.hashCode() [all...] |
/external/mockito/src/org/mockito/internal/invocation/ |
SerializableMethod.java | 20 private Class<?> returnType;
28 returnType = method.getReturnType();
38 return returnType;
95 if (returnType == null) {
96 if (other.returnType != null)
98 } else if (!returnType.equals(other.returnType))
|
/cts/tools/signature-tools/src/signature/model/impl/ |
SigMethod.java | 30 private ITypeReference returnType = Uninitialized.unset(); 38 return returnType; 41 public void setReturnType(ITypeReference returnType) { 42 this.returnType = returnType;
|
/external/antlr/antlr-3.4/gunit/src/main/resources/org/antlr/gunit/ |
junit.stg | 58 testTreeRuleMethod2(methodName,testTreeRuleName,testRuleName,test,returnType,expecting) ::= << 61 <returnType> retval = (<returnType>)execTreeParser(<testTreeRuleName>, <testRuleName>, "<test.inputEscaped>", <test.isFile>); 78 testRuleMethod2(methodName,testRuleName,test,returnType,expecting) ::= << 81 <returnType> retval = (<returnType>)execParser(<testRuleName>, <test.line>, "<test.inputEscaped>", <test.isFile>);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ForwardingTestCase.java | 107 private static Object getDefaultValue(Class<?> returnType) { 108 if (returnType == boolean.class || returnType == Boolean.class) { 110 } else if (returnType == int.class || returnType == Integer.class) { 112 } else if ((returnType == Set.class) || (returnType == Collection.class)) { 114 } else if (returnType == Iterator.class){ 116 } else if (returnType.isArray()) { 117 return Array.newInstance(returnType.getComponentType(), 0) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger.tests/src/com/android/ide/eclipse/gltrace/format/ |
GLAPISpecTest.java | 31 String returnType = "void"; 38 GLAPISpec spec = GLAPISpec.parseLine(createSpec(returnType, funcName, args)); 41 assertEquals(returnType, spec.getReturnValue().getCType()); 58 private String createSpec(String returnType, String funcName, List<String> args) { 60 sb.append(String.format("%s, %s", returnType, funcName));
|
/dalvik/dexgen/src/com/android/dexgen/rop/type/ |
Prototype.java | 35 private final Type returnType; 96 Type returnType = Type.internReturnType(descriptor.substring(at)); 103 result = new Prototype(descriptor, returnType, parameterTypes); 183 * @param returnType {@code non-null;} the return type 187 public static Prototype internInts(Type returnType, int count) { 199 sb.append(returnType.getDescriptor()); 211 private Prototype(String descriptor, Type returnType, 217 if (returnType == null) { 218 throw new NullPointerException("returnType == null"); 226 this.returnType = returnType [all...] |
/dalvik/dx/src/com/android/dx/rop/type/ |
Prototype.java | 35 private final Type returnType; 100 Type returnType = Type.internReturnType(descriptor.substring(at)); 107 result = new Prototype(descriptor, returnType, parameterTypes); 187 * @param returnType {@code non-null;} the return type 191 public static Prototype internInts(Type returnType, int count) { 203 sb.append(returnType.getDescriptor()); 215 private Prototype(String descriptor, Type returnType, 221 if (returnType == null) { 222 throw new NullPointerException("returnType == null"); 230 this.returnType = returnType [all...] |
/external/dexmaker/src/dx/java/com/android/dx/rop/type/ |
Prototype.java | 35 private final Type returnType; 100 Type returnType = Type.internReturnType(descriptor.substring(at)); 107 result = new Prototype(descriptor, returnType, parameterTypes); 187 * @param returnType {@code non-null;} the return type 191 public static Prototype internInts(Type returnType, int count) { 203 sb.append(returnType.getDescriptor()); 215 private Prototype(String descriptor, Type returnType, 221 if (returnType == null) { 222 throw new NullPointerException("returnType == null"); 230 this.returnType = returnType [all...] |
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
ApiMethod.java | 36 ApiMethod(String name, List<String> parameterTypes, String returnType, boolean deprecated) { 39 mReturnType = returnType;
|
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/ |
ReturnsMoreEmptyValues.java | 62 Class<?> returnType = invocation.getMethod().getReturnType(); 63 return returnValueFor(returnType);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/ |
ImmutableMethod.java | 54 @Nonnull protected final String returnType; 62 @Nonnull String returnType, 69 this.returnType = returnType; 78 @Nonnull String returnType, 85 this.returnType = returnType; 109 @Override @Nonnull public String getReturnType() { return returnType; }
|
/external/mockito/src/org/mockito/internal/handler/ |
NullResultGuardian.java | 30 Class<?> returnType = invocation.getMethod().getReturnType(); 31 if(result == null && returnType.isPrimitive()) { 33 return new HandyReturnValues().returnFor(returnType);
|
/art/test/044-proxy/src/ |
ReturnsAndArgPassing.java | 55 Class<?> returnType = null; 82 return returnType.getField("MAX_VALUE").get(null); 85 return returnType.getField("MIN_VALUE").get(null); 88 throw new Error("return type = " + returnType, e); 110 myHandler.returnType = Boolean.class; 119 myHandler.returnType = Byte.class; 128 myHandler.returnType = Character.class; 137 myHandler.returnType = Short.class; 146 myHandler.returnType = Integer.class; 155 myHandler.returnType = Long.class [all...] |
/external/easymock/src/org/easymock/internal/ |
RecordState.java | 226 private Object createNumberObject(Object value, Class<?> returnType) {
231 if (returnType.equals(Byte.TYPE)) {
233 } else if (returnType.equals(Short.TYPE)) {
235 } else if (returnType.equals(Character.TYPE)) {
237 } else if (returnType.equals(Integer.TYPE)) {
239 } else if (returnType.equals(Long.TYPE)) {
241 } else if (returnType.equals(Float.TYPE)) {
243 } else if (returnType.equals(Double.TYPE)) {
251 Class<?> returnType = lastInvocation.getMethod().getReturnType();
252 return createNumberObject(o, returnType);
[all...] |