n.cute.cute.0.9.0.source-code.AnnotationProcessorUnitTestClass Maven / Gradle / Ivy
package io.toolisticon.compiletesting.test;
import io.toolisticon.cute.TestAnnotation;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
/**
* Test class for annotation processor tools.
*/
@TestAnnotation
public class AnnotationProcessorUnitTestClass {
private String privateField;
protected String protectedField;
String packagePrivateField;
public String publicField;
public final String publicFinalField = "";
public static String publicStaticField;
public transient String publicTransientField;
enum TestEnum1 {
TEST11, TEST12;
}
public enum TestEnum2 {
TEST21, TEST22;
}
public static class EmbeddedStaticClass {
}
public Comparator comparatorWithAnonymousClass = new Comparator() {
@Override
public int compare(Long o1, Long o2) {
return 0;
}
};
public class EmbeddedClass {
}
public class EmbeddedClassWithNoNoargConstructor {
public EmbeddedClassWithNoNoargConstructor(String abs) {
}
}
public abstract class AbstractEmbeddedClass {
public abstract void abstractMethod();
}
{
int x = 0;
}
static {
int y = 0;
}
public AnnotationProcessorUnitTestClass() {
}
public AnnotationProcessorUnitTestClass(String withParameter) {
}
public String methodWithReturnTypeAndParameters(Boolean first, String second) {
return "";
}
public int testGenericsOnParameter(Map> o1, Map extends StringBuilder, Comparator super List>>> o2) {
return 0;
}
}