/**
 * Broken Java file for error handling testing.
 */

package com.example.broken;

import java.util.List;

/**
 * Incomplete class with syntax errors.
 */
public class BrokenClass {

    // Missing method body
    public void incompleteMethod(String param

    // Missing closing brace for method
    public String anotherBroken() {
        return "test";

    // Malformed method signature
    public invalid signature here

    // Class not properly closed
}

// Extra closing brace
}

/**
 * Interface with incomplete method.
 */
public interface BrokenInterface {
    void method1();
    void method2(
}

// Random syntax errors
class {{{
    broken syntax here
}

public class PartiallyValid {
    /**
     * This method might still be detected.
     */
    public void validMethod() {
        System.out.println("This is valid");
    }

    // But this is not
    public void broken(incomplete
}
