Updating to NBMs from NetBeans 8.0.1 as some of them are required to run on JDK8
1 package org.apidesign.sidemeanings;
3 public abstract class Protected {
8 protected void increment() {
12 public final void incrementTenTimes() {
13 for (int i = 0; i < 10; i++) {
18 public final void assertCounter(int expected) {
19 assert expected == counter : "Expected " + expected + " but was " + counter;
23 public static class Dirty extends Protected {
24 // BEGIN: sidemeanings.Protected.Dirty
25 protected void increment() {
29 // END: sidemeanings.Protected.Dirty
33 public static abstract class Clean extends Protected {
34 // BEGIN: sidemeanings.Protected.Clean
35 protected abstract void increment();
36 protected final void defaultIncrement() {
39 // END: sidemeanings.Protected.Clean