src/it/MPMD-266-typeresolution-aggregated/module-b/src/main/java/module/b/ModuleB.java [27:52]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public class ModuleB
{
    public static void main( String[] args )
    {
        ModuleA m = new ModuleA();
        doSomething( m );
    }

    // this method will be detected as being unsued,
    // if typeresolution is not setup correctly: module a needs
    // to be on PMD's auxclasspath, so that PMD knows, that ModuleA
    // implements IModuleA
    private static void doSomething( IModuleA module )
    {
        System.out.println( module );
    }

    public static void aPublicMethod()
    {
        Complex u = new Complex(1, 1);
        aPrivateMethod( u );
    }

    private static void aPrivateMethod( FieldElement<Complex> u )
    {
        System.out.println( "aPrivateMethod: " + u );
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/it/MPMD-277-multi-module-check/module-b/src/main/java/module/b/ModuleB.java [27:52]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public class ModuleB
{
    public static void main( String[] args )
    {
        ModuleA m = new ModuleA();
        doSomething( m );
    }

    // this method will be detected as being unsued,
    // if typeresolution is not setup correctly: module a needs
    // to be on PMD's auxclasspath, so that PMD knows, that ModuleA
    // implements IModuleA
    private static void doSomething( IModuleA module )
    {
        System.out.println( module );
    }

    public static void aPublicMethod()
    {
        Complex u = new Complex(1, 1);
        aPrivateMethod( u );
    }

    private static void aPrivateMethod( FieldElement<Complex> u )
    {
        System.out.println( "aPrivateMethod: " + u );
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



