Update of 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-interfaceextractor/src/test/testapp/org/xdoclet/testapp/interfaceextractor
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28461/plugin-interfaceextractor/src/test/testapp/org/xdoclet/testapp/interfaceextractor

Added Files:
        Dummy.java OtherDummy.java ThirdDummy.java 
Log Message:
XDP-137 : added simple interface extractor plugin

--- NEW FILE: Dummy.java ---
package org.xdoclet.testapp.interfaceextractor;

/**
 * @author greg
 * @author $Author: moinsmoins $ (last edit)
 * @version $Revision: 1.1 $
 */
public class Dummy {
    /**
     * this is dummy
     * @blah foo=bar
     */
    public String dummyMethod() {
        System.out.println("stuff");
        return "blah";
    }

    public String thisOnewillHaveDifferentReturnTypesInOtherClasses() {
        return "foo";
    }

    public Integer thisOnewillHaveDifferentParametersInOtherClasses() {
        return new Integer(27);
    }

    public int someLikeItHot(String yo) {
        return yo.hashCode();
    }

    public void toRemove() {
        System.out.println("should not be there");
    }

    public void otherDummy() {
        System.out.println("other");
    }

    public int onlyInThisClass() {
        return 1;
    }
}

--- NEW FILE: OtherDummy.java ---
package org.xdoclet.testapp.interfaceextractor;

/**
 * @author greg
 * @author $Author: moinsmoins $ (last edit)
 * @version $Revision: 1.1 $
 */
public class OtherDummy {
    /**
     * this is dummy, too.
     */
    public String dummyMethod() {
        System.out.println("stuff 2");
        return "blah 2";
    }

    public Integer thisOnewillHaveDifferentParametersInOtherClasses(int x) {
        return new Integer(x);
    }

    public int someLikeItHot(String yo) {
        return yo.hashCode() * 3;
    }

    public void otherDummy() {
        System.out.println("2-other");
    }

    public void toRemove() {
        System.out.println("should not be there");
    }

    public StringBuffer blah() {
        return new StringBuffer("blablabla");
    }

    public Integer thisOnewillHaveDifferentReturnTypesInOtherClasses() {
        return new Integer(3);
    }
}

--- NEW FILE: ThirdDummy.java ---
package org.xdoclet.testapp.interfaceextractor;

import java.util.Date;
import java.util.Random;

/**
 * @author greg
 * @author $Author: moinsmoins $ (last edit)
 * @version $Revision: 1.1 $
 */
public class ThirdDummy {

    public void otherDummy() {
        System.out.println("3) other");
    }

    public String dummyMethod() {
        System.out.println("stuff 3");
        return "blah 3";
    }

    public boolean random() {
        return new Random().nextBoolean();
    }

    public void toRemove() {
        System.out.println("should not be there");
    }

    public Date thisOnewillHaveDifferentReturnTypesInOtherClasses() {
        return new Date();
    }

    public int someLikeItHot(String yo) {
        return yo.hashCode() - 384;
    }

    public Integer thisOnewillHaveDifferentParametersInOtherClasses(int x, int 
y, String s) {
        return new Integer(x + y + s.hashCode());
    }


}




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits

Reply via email to