
test.test.dynamic.ClassForReloading Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of abbot Show documentation
Show all versions of abbot Show documentation
Java GUI Test Framework.
The newest version!
package test.dynamic;
/** Simple class with some static initialization that can be observed without
* actually operating on any of the class's methods.
*/
public class ClassForReloading {
private static int instanceCount = 0;
public ClassForReloading() {
synchronized(getClass()) {
++instanceCount;
}
}
public String toString() {
return String.valueOf(instanceCount);
}
public static void main(String[] args) {
//System.out.println("Main routine of dynamically loaded class");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy