// Path: me.gladwell.eclipse.m2e.android/src/main/java/me/gladwell/eclipse/m2e/android/configuration/Classpaths.java
// public static IClasspathEntryDescriptor findContainerMatching(final IClasspathDescriptor classpath, final String path) {
//     return matchContainer(classpath, new Predicate<IClasspathEntryDescriptor>() {
//         public boolean apply(IClasspathEntryDescriptor entry) {
//             return entry.getPath().toOSString().equals(path);
//         }
//     });
// }


import static me.gladwell.eclipse.m2e.android.configuration.Classpaths.findContainerMatching;
import org.eclipse.m2e.jdt.IClasspathDescriptor;
import org.eclipse.m2e.jdt.IClasspathEntryDescriptor;
/*******************************************************************************
 * Copyright (c) 2015 Ricardo Gladwell
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *******************************************************************************/

package me.gladwell.eclipse.m2e.android.project;



public class EclipseEntry implements Entry {

    private final IClasspathDescriptor classpath;
    private final String path;

    public EclipseEntry(IClasspathDescriptor classpath, String path) {
        super();
        this.classpath = classpath;
        this.path = path;
    }

    public void markNotExported() {
// Path: me.gladwell.eclipse.m2e.android/src/main/java/me/gladwell/eclipse/m2e/android/configuration/Classpaths.java
// public static IClasspathEntryDescriptor findContainerMatching(final IClasspathDescriptor classpath, final String path) {
//     return matchContainer(classpath, new Predicate<IClasspathEntryDescriptor>() {
//         public boolean apply(IClasspathEntryDescriptor entry) {
//             return entry.getPath().toOSString().equals(path);
//         }
//     });
// }


// Path: me.gladwell.eclipse.m2e.android/src/main/java/me/gladwell/eclipse/m2e/android/project/EclipseEntry.java
import static me.gladwell.eclipse.m2e.android.configuration.Classpaths.findContainerMatching;
import org.eclipse.m2e.jdt.IClasspathDescriptor;
import org.eclipse.m2e.jdt.IClasspathEntryDescriptor;

/*******************************************************************************
 * Copyright (c) 2015 Ricardo Gladwell
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *******************************************************************************/

package me.gladwell.eclipse.m2e.android.project;



public class EclipseEntry implements Entry {

    private final IClasspathDescriptor classpath;
    private final String path;

    public EclipseEntry(IClasspathDescriptor classpath, String path) {
        super();
        this.classpath = classpath;
        this.path = path;
    }

    public void markNotExported() {
        IClasspathEntryDescriptor entry = findContainerMatching(classpath, path);