HomeSort by relevance Sort by last modified time
    Searched defs:method (Results 326 - 350 of 1414) sorted by null

<<11121314151617181920>>

  /external/emma/core/java12/com/vladium/emma/report/
SrcFileItem.java 150 final MethodItem method = (MethodItem) methods.next (); local
151 final int methodID = method.getID ();
  /external/guava/guava/src/com/google/common/reflect/
Invokable.java 30 import java.lang.reflect.Method;
39 * Wrapper around either a {@link Method} or a {@link Constructor}.
43 * <p>In addition to convenience methods, {@link TypeToken#method} and {@link
44 * TypeToken#constructor} will resolve the type parameters of the method or constructor in the
48 * Method getMethod = List.class.getMethod("get", int.class);
49 * Invokable<List<String>, ?> invokable = new TypeToken<List<String>>() {}.method(getMethod);
53 * @param <T> the type that owns this method or constructor.
54 * @param <R> the return type of (or supertype thereof) the method or the declaring type of the
66 /** Returns {@link Invokable} of {@code method}. */
67 public static Invokable<?, Object> from(Method method)
188 final Method method; field in class:Invokable.MethodInvokable
    [all...]
TypeToken.java 39 import java.lang.reflect.Method;
61 * TypeToken.of(method.getGenericReturnType())}.
66 * of the {@code listType()} method signature; while {@code <String>} is lost in erasure:
164 * {@link java.lang.reflect.Method#getGenericReturnType}, the raw type is what's returned by
165 * {@link java.lang.reflect.Method#getReturnType} of the same method object. Specifically:
274 * {@link Object} or an interface. This method is similar but different from {@link
315 * Returns the generic interfaces that this type directly {@code implements}. This method is
490 * Returns the {@link Invokable} for {@code method}, which must be a member of {@code T}.
494 public final Invokable<T, Object> method(Method method) method in class:TypeToken
496 "%s not declared by %s", method, this); local
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
FeatureSpecificTestSuiteBuilder.java 31 import java.lang.reflect.Method;
107 * features. This method may be called more than once to add features
145 private Set<Method> suppressedTests = new HashSet<Method>();
155 public B suppressing(Method... methods) {
159 public B suppressing(Collection<Method> methods) {
164 public Set<Method> getSuppressedTests() {
226 final Method method; local
228 method = extractMethod(test)
    [all...]
  /external/guava/guava-testlib/test/com/google/common/collect/testing/features/
FeatureUtilTest.java 29 import java.lang.reflect.Method;
261 final Method method = ExampleDerivedInterfaceTester.class local
264 FeatureUtil.buildTesterRequirements(method);
269 assertEquals(method, e.getSource());
  /external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DateFormatTest.java 41 String method[] = new String[1]; local
42 DateFormat df = getJDKInstance(dstyle, tstyle, loc, method);
48 errln("FAIL: " + method[0] + " returned JDK DateFormat for locale " + loc);
52 logln("INFO: " + method[0] + " returned ICU DateFormat for locale " + loc);
58 errln("FAIL: " + method[0] + " returned ICU DateFormat for locale " + loc
63 errln("FAIL: " + method[0] + " returned JDK DateFormat for locale " + iculoc);
71 String method; local
74 method = "getTimeInstance";
77 method = "getDateInstance";
80 method = "getDateTimeInstance"
90 String method; local
    [all...]
NumberFormatTest.java 48 String[] method = new String[1]; local
49 nf = getJDKInstance(type, loc, method);
55 errln("FAIL: " + method[0] + " returned JDK NumberFormat for locale " + loc);
59 logln("INFO: " + method[0] + " returned ICU NumberFormat for locale " + loc);
66 errln("FAIL: " + method[0] + " returned ICU NumberFormat for locale " + loc
72 errln("FAIL: " + method[0] + " returned JDK NumberFormat for locale " + iculoc);
80 String method = null; local
85 method = "getInstance";
89 method = "getNumberInstance";
93 method = "getIntegerInstance"
112 String method = null; local
    [all...]
  /external/javassist/src/main/javassist/compiler/
JvstTypeChecker.java 137 /* Delegates to a ProcHandler object if the method call is
141 ASTree method = expr.oprand1(); local
142 if (method instanceof Member) {
143 String name = ((Member)method).get();
168 * It can be used only as a parameter list of method call.
255 * If type is void, then this method does nothing.
  /external/jetty/src/java/org/eclipse/jetty/server/handler/
DefaultHandler.java 91 String method=request.getMethod(); local
94 if (_serveIcon && _favicon!=null && method.equals(HttpMethods.GET) && request.getRequestURI().equals("/favicon.ico"))
111 if (!method.equals(HttpMethods.GET) || !request.getRequestURI().equals("/"))
ErrorHandler.java 45 * It is called by the HttpResponse.sendError method to write a error page.
64 String method = request.getMethod(); local
65 if(!method.equals(HttpMethods.GET) && !method.equals(HttpMethods.POST) && !method.equals(HttpMethods.HEAD))
  /external/junit/src/junit/textui/
TestRunner.java 20 * If this class defines a static <code>suite</code> method it
67 * This method can be used to start a test run
154 String method= ""; local
166 method= arg.substring(lastIndex + 1);
177 if (!method.equals(""))
178 return runSingleMethod(testCase, method, wait);
186 protected TestResult runSingleMethod(String testCase, String method, boolean wait) throws Exception {
188 Test test= TestSuite.createTest(testClass, method);
  /external/junit/src/org/junit/internal/runners/
JUnit4ClassRunner.java 5 import java.lang.reflect.Method;
31 private final List<Method> fTestMethods;
40 protected List<Method> getTestMethods() {
60 for (Method method : fTestMethods)
61 invokeTestMethod(method, notifier);
67 List<Method> testMethods= fTestMethods;
68 for (Method method : testMethods)
69 spec.addChild(methodDescription(method));
126 Method method= iter.next(); local
    [all...]
  /external/kernel-headers/original/uapi/linux/
atmbr2684.h 69 int method; /* BR2684_FIND_* */ member in struct:br2684_if_spec
  /external/lldb/test/pexpect-2.4/examples/
rippy.py 376 if hasattr(func,'im_func'): # Handle case when func is a class method. class in function:apply_smart
    [all...]
  /external/lzma/CPP/7zip/Archive/7z/
7zEncode.cpp 294 // it has only password method;
300 CMethodFull method; local
302 method.NumInStreams = 1;
303 method.NumOutStreams = 1;
306 method.Id = k_AES;
308 _options.Methods.Add(method);
412 CMethodFull method; local
413 method.NumInStreams = 1;
414 method.NumOutStreams = 1;
415 coderStreamsInfo.NumInStreams = method.NumOutStreams;
    [all...]
  /external/mesa3d/src/gallium/drivers/nv30/
nv30_transfer.c 658 } *method, methods[] = { local
666 method = methods - 1;
667 while ((++method)->possible) {
668 if (method->possible(nv30, filter, src, dst)) {
669 method->execute(nv30, filter, src, dst);
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/beans/
BulkBeanEmitter.java 19 import java.lang.reflect.Method;
47 Method[] getters = new Method[getterNames.length];
48 Method[] setters = new Method[setterNames.length];
58 private void generateGet(final Class target, final Method[] getters) {
81 private void generateSet(final Class target, final Method[] setters) {
126 Method[] getters_out,
127 Method[] setters_out) {
135 Method method = ReflectUtils.findDeclaredMethod(target, getters[i], null) local
146 Method method = ReflectUtils.findDeclaredMethod(target, setters[i], new Class[]{ types[i] }); local
    [all...]
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
MethodDelegate.java 31 * Delegates are a typesafe pointer to another method. Since Java does not
33 * a proxy that forwards method calls to any method with the same signature.
40 * Any interface with one method can become the interface for a delegate.
52 * delegate. It has only one method, and the interface is public. In
53 * order to create a delegate for that method, all we have to do is
81 * easily created the delegate to match the static <code>main</code> method by
91 * use any interface with one declared method to forward events to any method that
92 * matches the signature (although the method name can be different)
203 final Method method = targetClass.getMethod(methodName, proxy.getParameterTypes()); local
    [all...]
MulticastDelegate.java 98 final MethodInfo method = ReflectUtils.getMethodInfo(ReflectUtils.findInterfaceMethod(iface)); local
109 // generate proxied method
110 emitProxy(ce, method);
132 private void emitProxy(ClassEmitter ce, final MethodInfo method) {
133 final CodeEmitter e = EmitUtils.begin_method(ce, method, Constants.ACC_PUBLIC);
134 Type returnType = method.getSignature().getReturnType();
149 e.invoke(method);
  /external/mockwebserver/src/main/java/com/google/mockwebserver/
RecordedRequest.java 35 private final String method; field in class:RecordedRequest
87 this.method = requestLine.substring(0, methodEnd);
90 this.method = null;
100 return method;
  /external/nanohttpd/core/src/test/java/fi/iki/elonen/
HttpServerTest.java 100 public Method method; field in class:HttpServerTest.TestServer
122 this.method = session.getMethod();
  /external/nist-sip/java/gov/nist/javax/sip/message/
SIPResponse.java 149 retval = "Method not allowed";
385 * Note -- use the encode method for formatting the message.
623 * @param method
626 private final void setBranch( Via via, String method ) {
628 if (method.equals( Request.ACK ) ) {
634 } else if (method.equals( Request.CANCEL )) {
684 String method = cseq.getMethod(); local
686 newRequest.setMethod(method);
688 this.setBranch( via, method );
  /external/openssh/
auth2.c 97 #define MATCH_NONE 0 /* method or submethod mismatch */
98 #define MATCH_METHOD 1 /* method matches (no submethod specified) */
99 #define MATCH_BOTH 2 /* method and submethod match */
100 #define MATCH_PARTIAL 3 /* method matches, submethod can't be checked */
217 char *user, *service, *method, *style = NULL; local
225 method = packet_get_cstring(NULL);
226 debug("userauth-request for user %s service %s method %s", user, service, method);
278 m = authmethod_lookup(authctxt, method);
280 debug2("input_userauth_request: try method %s", method)
459 char *methods, *omethods, *method, *p; local
    [all...]
  /external/proguard/src/proguard/classfile/io/
LibraryClassReader.java 190 LibraryMethod method = new LibraryMethod(); local
191 this.visitLibraryMember(libraryClass, method);
194 if (AccessUtil.accessLevel(method.getAccessFlags()) >=
198 reusableMethods[visibleMethodsCount++] = method;
  /external/proguard/src/proguard/optimize/evaluation/
VariableOptimizer.java 95 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
99 // method.getName(clazz).equals("abc");
105 livenessAnalyzer.visitCodeAttribute(clazz, method, codeAttribute);
110 codeAttribute.attributesAccept(clazz, method, this);
113 (method.getAccessFlags() & ClassConstants.ACC_STATIC) != 0 ||
117 ClassUtil.internalMethodParameterSize(method.getDescriptor(clazz),
118 method.getAccessFlags());
158 System.out.println("VariableOptimizer: "+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz))
    [all...]

Completed in 541 milliseconds

<<11121314151617181920>>