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

boomerang.scene.wala.WALADataFlowScope Maven / Gradle / Ivy

/**
 * ***************************************************************************** Copyright (c) 2020
 * CodeShield GmbH, Paderborn, Germany. This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 *
 * 

SPDX-License-Identifier: EPL-2.0 * *

Contributors: Johannes Spaeth - initial API and implementation * ***************************************************************************** */ package boomerang.scene.wala; import boomerang.scene.DataFlowScope; import boomerang.scene.DeclaredMethod; import boomerang.scene.Method; public class WALADataFlowScope { public static DataFlowScope make() { return new DataFlowScope() { @Override public boolean isExcluded(DeclaredMethod method) { return false; } @Override public boolean isExcluded(Method method) { return false; } }; } public static DataFlowScope APPLICATION_ONLY = new DataFlowScope() { @Override public boolean isExcluded(DeclaredMethod method) { return !method.getDeclaringClass().isApplicationClass() || method.isNative(); } @Override public boolean isExcluded(Method method) { return !method.getDeclaringClass().isApplicationClass() || method.isNative(); } }; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy