Skip to content

Commit 2c7c2ba

Browse files
authored
Merge pull request #393 from google/moe_writing_branch_from_1acee258273fe7e06fbf79ce3f014b230123abfd
Latest changes from Google.
2 parents 32b6e37 + 89dcbae commit 2c7c2ba

File tree

7 files changed

+927
-58
lines changed

7 files changed

+927
-58
lines changed

common/pom.xml

+6
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@
7575
<version>${truth.version}</version>
7676
<scope>test</scope>
7777
</dependency>
78+
<dependency>
79+
<groupId>org.eclipse.jdt.core.compiler</groupId>
80+
<artifactId>ecj</artifactId>
81+
<version>4.5.1</version>
82+
<scope>test</scope>
83+
</dependency>
7884
</dependencies>
7985

8086
<build>

common/src/main/java/com/google/auto/common/MoreElements.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ public static ImmutableSet<ExecutableElement> getLocalAndInheritedMethods(
310310
// TODO(emcmanus): detect if the Types and Elements are the javac ones, and use
311311
// NativeOverrides if so. We may need to adjust the logic further to avoid the bug
312312
// tested for by MoreElementsTest.getLocalAndInheritedMethods_DaggerBug.
313-
Overrides overrides = new Overrides.ExplicitOverrides(typeUtils, elementUtils);
313+
Overrides overrides = new Overrides.ExplicitOverrides(typeUtils);
314314
return getLocalAndInheritedMethods(type, overrides);
315315
}
316316

common/src/main/java/com/google/auto/common/Overrides.java

+292-27
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)