All Downloads are FREE. Search and download functionalities are using the official Maven repository.

n.cute.cute.0.9.0.source-code.AnnotationProcessorUnitTestClass Maven / Gradle / Ivy

There is a newer version: 1.7.0
Show newest version
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>> o2) {
        return 0;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy