Expanded stubsstubs to ensure the stubs compile correctly.

This commit is contained in:
Roel Spilker committed 2017-11-28 20:57:21 +01:00
1 parent 14c7456fea
commit 192ce9bc16
6 files changed
+35

No files matched your search

@@ -0,0 +1,15 @@
package com.sun.tools.javac.code;
import java.util.Map;
import javax.lang.model.element.AnnotationMirror;
import javax.lang.model.element.AnnotationValue;
import javax.lang.model.element.ExecutableElement;
import javax.lang.model.type.DeclaredType;
public abstract class Attribute {
public static class Compound extends Attribute implements AnnotationMirror {
public DeclaredType getAnnotationType() { return null; }
public Map<? extends ExecutableElement, ? extends AnnotationValue> getElementValues() { return null; }
}
}
@@ -0,0 +1,3 @@
package com.sun.tools.javac.code;
public class Type {}
@@ -0,0 +1,3 @@
package com.sun.tools.javac.comp;
public class Todo {}
@@ -0,0 +1,3 @@
package com.sun.tools.javac.util;
public class Context {}
@@ -0,0 +1,3 @@
package com.sun.tools.javac.util;
public class List<T> {}
@@ -0,0 +1,8 @@
package com.sun.tools.javac.util;
public class Name implements javax.lang.model.element.Name {
public boolean contentEquals(CharSequence cs) { return false; }
public int length() { return 0; }
public char charAt(int idx) { return '\0'; }
public CharSequence subSequence(int a, int b) { return null; }
}