1 /******************************************************************************* 2 * Copyright (c) 2008, 2009 IBM Corporation and others. 3 * 4 * This program and the accompanying materials 5 * are made available under the terms of the Eclipse Public License 2.0 6 * which accompanies this distribution, and is available at 7 * https://www.eclipse.org/legal/epl-2.0/ 8 * 9 * SPDX-License-Identifier: EPL-2.0 10 * 11 * Contributors: 12 * IBM Corporation - initial API and implementation 13 *******************************************************************************/ 14 package internal.x.y.z; 15 16 /** 17 * An internal class with only protected members visible 18 */ 19 public class internalprotected { 20 21 /** 22 * This is only a leak if someone can extend a class 23 */ protectedMethod()24 protected void protectedMethod() { 25 } 26 27 } 28