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.java65 default String defaultMethod() { in defaultMethod() method
74 return "NonOverriding-" + defaultMethod(); in methodCallingDefault()
89 assertEquals("Foo", foo.defaultMethod()); in testInterceptedDefaultMethod()
112 public String defaultMethod() { in defaultMethod() method in DefaultMethodInterceptionTest.BaseClass
134 assertEquals("BaseClass", foo.defaultMethod()); in testInterceptedDefaultMethod_whenParentClassDefinesNonInterceptedMethod()
145 public String defaultMethod() { in defaultMethod() method in DefaultMethodInterceptionTest.BaseClass2
169 assertEquals("BaseClass2", foo.defaultMethod()); in testInterceptedDefaultMethod_whenParentClassDefinesInterceptedMethod()
/external/r8/src/main/java/com/android/tools/r8/ir/desugar/
DClassProcessor.java96 private DexEncodedMethod addForwardingMethod(DexEncodedMethod defaultMethod, DexClass clazz) { in addForwardingMethod() argument
97 DexMethod method = defaultMethod.method; in addForwardingMethod()
102 DexAccessFlags newFlags = new DexAccessFlags(defaultMethod.accessFlags.get()); in addForwardingMethod()
104 defaultMethod.annotations, defaultMethod.parameterAnnotations, in addForwardingMethod()
/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.java331 Method defaultMethod = entry.getValue(); in FactoryProvider2() local
332 MethodHandleWrapper handle = MethodHandleWrapper.create(defaultMethod, factory); in FactoryProvider2()
334 methodHandleBuilder.put(defaultMethod, handle); in FactoryProvider2()
337 for (Method otherMethod : otherMethods.get(defaultMethod.getName())) { in FactoryProvider2()
338 if (dataSoFar.containsKey(otherMethod) && isCompatible(defaultMethod, otherMethod)) { in FactoryProvider2()
344 defaultMethod, Arrays.asList(defaultMethod.getParameterTypes())); in FactoryProvider2()
346 assistDataBuilder.put(defaultMethod, dataSoFar.get(otherMethod)); in FactoryProvider2()
352 throw new IllegalStateException("Can't find method compatible with: " + defaultMethod); in FactoryProvider2()