Example usage for org.eclipse.jdt.core JavaCore getClasspathVariableDeprecationMessage

List of usage examples for org.eclipse.jdt.core JavaCore getClasspathVariableDeprecationMessage

Introduction

In this page you can find the example usage for org.eclipse.jdt.core JavaCore getClasspathVariableDeprecationMessage.

Prototype

public static String getClasspathVariableDeprecationMessage(String variableName) 

Source Link

Document

Returns deprecation message of a given classpath variable.

Usage

From source file:at.bestsolution.javafx.ide.jdt.internal.jdt.CPListElement.java

License:Open Source License

public boolean isDeprecated() {
    if (fEntryKind != IClasspathEntry.CPE_VARIABLE) {
        return false;
    }//from  ww w  .  j av  a2  s .co  m
    if (fPath.segmentCount() > 0) {
        return JavaCore.getClasspathVariableDeprecationMessage(fPath.segment(0)) != null;
    }
    return false;
}