Interface mixins dev

This commit is contained in:
Mumfrey committed 2016-01-20 17:22:16 +00:00
1 parent 8c450d4282
commit 46e20b1f4e
19 files changed
+585 -150

No files matched your search

@@ -437,11 +437,11 @@ public class MixinEnvironment implements ITokenProvider {
private final int classVersion;
private final boolean resolveMethodsInInterfaces;
private final boolean supportsMethodsInInterfaces;
private CompatibilityLevel(int classVersion, boolean resolveMethodsInInterfaces) {
this.classVersion = classVersion;
this.resolveMethodsInInterfaces = resolveMethodsInInterfaces;
this.supportsMethodsInInterfaces = resolveMethodsInInterfaces;
}
boolean isSupported() {
@@ -452,8 +452,8 @@ public class MixinEnvironment implements ITokenProvider {
return this.classVersion;
}
public boolean resolveMethodsInInterfaces() {
return this.resolveMethodsInInterfaces;
public boolean supportsMethodsInInterfaces() {
return this.supportsMethodsInInterfaces;
}
public boolean isAtLeast(CompatibilityLevel level) {