src.samples.java.ex.PCOA_Sample Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fb-contrib Show documentation
Show all versions of fb-contrib Show documentation
An auxiliary findbugs.sourceforge.net plugin for java bug detectors that fall outside the narrow scope of detectors to be packaged with the product itself.
package ex;
public class PCOA_Sample {
public PCOA_Sample() {
overridableMethod();
}
public PCOA_Sample(int ok) {
nonOverridableMethod();
}
public PCOA_Sample(String ok) {
privateNonFinalMethod();
}
public PCOA_Sample(long privateCallsOverridable) {
privateCallsOverridable();
}
public void overridableMethod() {
}
private void privateNonFinalMethod() {
}
public final void nonOverridableMethod() {
}
private void privateCallsOverridable() {
overridableMethod();
}
final static class FinalClass {
public FinalClass() {
aMethod();
}
public void aMethod() {
}
}
}