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

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

Introduction

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

Prototype

public void parse() 

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 raw type.
 * //from w w  w . j a  va 2s .co m
 * @return whether this binding key represents a raw type
 */
public boolean isRawType() {
    KeyKind kind = new KeyKind(this.key);
    kind.parse();
    return (kind.flags & KeyKind.F_RAW_TYPE) != 0;
}

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./*w ww  .  ja v a 2 s .  c  o  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;
}

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

License:Open Source License

/**
 * Returns whether this binding key represents a parameterized method, or if its declaring method is a parameterized
 * method.//from   ww w .j  a  va 2 s.  c  o m
 * 
 * @return whether this binding key represents a parameterized method
 */
public boolean isParameterizedMethod() {
    KeyKind kind = new KeyKind(this.key);
    kind.parse();
    return (kind.flags & KeyKind.F_PARAMETERIZED_METHOD) != 0;
}