Home
last modified time | relevance | path

Searched refs:defaultMethod (Results 1 – 4 of 4) sorted by relevance

/external/guice/jdk8-tests/test/com/google/inject/jdk8/
DDefaultMethodInterceptionTest.java63 default String defaultMethod() { in defaultMethod() method
72 return "NonOverriding-" + defaultMethod(); in methodCallingDefault()
89 assertEquals("Foo", foo.defaultMethod()); in testInterceptedDefaultMethod()
114 public String defaultMethod() { in defaultMethod() method in DefaultMethodInterceptionTest.BaseClass
137 assertEquals("BaseClass", foo.defaultMethod()); in testInterceptedDefaultMethod_whenParentClassDefinesNonInterceptedMethod()
148 public String defaultMethod() { in defaultMethod() method in DefaultMethodInterceptionTest.BaseClass2
173 assertEquals("BaseClass2", foo.defaultMethod()); in testInterceptedDefaultMethod_whenParentClassDefinesInterceptedMethod()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DOutputProperties.java309 String defaultMethod = m_properties.getProperty(OutputKeys.METHOD); in setMethodDefaults() local
311 if((null == defaultMethod) || !defaultMethod.equals(method) in setMethodDefaults()
319 || defaultMethod.equals("xml") in setMethodDefaults()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider2.java368 Method defaultMethod = entry.getValue(); in FactoryProvider2() local
369 MethodHandleWrapper handle = MethodHandleWrapper.create(defaultMethod, factory); in FactoryProvider2()
371 methodHandleBuilder.put(defaultMethod, handle); in FactoryProvider2()
374 for (Method otherMethod : otherMethods.get(defaultMethod.getName())) { in FactoryProvider2()
375 if (dataSoFar.containsKey(otherMethod) && isCompatible(defaultMethod, otherMethod)) { in FactoryProvider2()
382 defaultMethod, Arrays.asList(defaultMethod.getParameterTypes())); in FactoryProvider2()
384 assistDataBuilder.put(defaultMethod, dataSoFar.get(otherMethod)); in FactoryProvider2()
390 throw new IllegalStateException("Can't find method compatible with: " + defaultMethod); in FactoryProvider2()
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/java8/
DFunctionalInterfaceWithInitializerAndDefaultMethods.java38 default void defaultMethod() {} in defaultMethod() method