Example usage for org.eclipse.jdt.internal.core.util KeyKind F_PARAMETERIZED_TYPE

List of usage examples for org.eclipse.jdt.internal.core.util KeyKind F_PARAMETERIZED_TYPE

Introduction

In this page you can find the example usage for org.eclipse.jdt.internal.core.util KeyKind F_PARAMETERIZED_TYPE.

Prototype

int F_PARAMETERIZED_TYPE

To view the source code for org.eclipse.jdt.internal.core.util KeyKind F_PARAMETERIZED_TYPE.

Click Source Link

Usage

From source file:org.eclipse.imp.analysis.type.constraints.fastrep.BindingKey.java

License:Open Source License

/**
 * Returns whether this binding key represents a parameterized type, or if its declaring type is a parameterized
 * type./*from  ww  w.  j  a  v  a  2 s  .  co m*/
 * 
 * @return whether this binding key represents a parameterized type
 */
public boolean isParameterizedType() {
    KeyKind kind = new KeyKind(this.key);
    kind.parse();
    return (kind.flags & KeyKind.F_PARAMETERIZED_TYPE) != 0;
}