blob: b36ae86d44566cdd9be20014ad755d699664f008 [file] [log] [blame]
/**********************************************************************
* This file is part of "Object Teams Development Tooling"-Software
*
* Copyright 2009 Technical University Berlin, Germany.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
* $Id: IProtectable.java 23417 2010-02-03 20:13:55Z stephan $
*
* Please visit http://www.eclipse.org/objectteams for updates and contact.
*
* Contributors:
* Fraunhofer FIRST - Initial API and implementation
* Technical University Berlin - Initial API and implementation
**********************************************************************/
package org.eclipse.objectteams.otdt.internal.core.compiler.util;
import org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding;
/**
* Abstraction of role members that can have different levels of protection: methods and fields.
*
* @author stephan
* @since 1.2.6
*/
public interface IProtectable {
ReferenceBinding getDeclaringClass();
boolean isPublic();
boolean isProtected();
boolean isDefault();
boolean isPrivate();
boolean isStatic();
int modifiers();
}