Beaner Sample
package okjfsd.sdfa.sfda.fsd;
import dfsg.dfs.dg;
import dsfg.d.* ;
public class Hello {
String s;
Float t;
Map xx;
}
/**
* Javadoc test
*/
public class Hi {
String hey; // whatever ya' know "
Float/*comment test*/x;
String s = "sdf";//adjacent inline comment test
char charTest='f';
}/*bad comment location*/
public class boo {
kjfsdh lkjsdf;
klsdfj sadf, sfda, sdf = "243";
xxx yyy fds sfd, fsd, sfd = 7;
klsjdf dsf,dsfdsf,/*lkasjfd*/sda,sffsg//sgd
;
}
public class ArrayStuff {
String[][] w = new String[][] {
new String[] {"a", "b", "c"},
new String[] {"a", "b", "c"},
new String[] {"a", "b", "c"}
};
String[] x = new String[] {"a", "b", "c"};
String[] y = new String[] {"a", "b", "c"}, z;
}
package okjfsd.sdfa.sfda.fsd; import dfsg.dfs.dg; import dsfg.d.*; /** * This class created by the <a href="http://www.jshift.com">JShift * Consulting Group</a> bean creation utility. Generally, it should not * edited directly. Changes should be made directly to * null.
*/ public class Hello { // constants -------------------------------- public static final String DATE_MODIFIED = "3/04/02 12:19p"; public static final String REVISION = "62"; // member variables ------------------------- private MapmXx; Map getXx() {return mXx;} void setXx(Map pS) {mXx = pXx;} private String mS; String getS() {return mS;} void setS(String pS) {mS = pS;} private Float mT; Float getT() {return mT;} void setT(Float pT) {mT = pT;} // methods ---------------------------------- public boolean equals(Object pObj) { Hello testVal; try { testVal = (Hello) pObj; } catch (ClassCastException ex) {return false;} return ( //(mXx == null ? testVal.mXx == null : mXx.equals(testVal.mXx)) && (mS == null ? testVal.mS == null : mS.equals(testVal.mS)) && (mT == null ? testVal.mT == null : mT.equals(testVal.mT)) ); } public int hashCode() { int retVal = 0; //retVal *= 29; //retVal += mXx == null ? 0 : mXx.hashCode(); retVal *= 29; retVal += mS == null ? 0 : mS.hashCode(); retVal *= 29; retVal += mT == null ? 0 : mT.hashCode(); return retVal; } }