All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.samples.java.ex.PCOA_Sample Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 7.6.8
Show newest version
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() {
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy