List of usage examples for org.eclipse.jdt.internal.core.util KeyKind KeyKind
public KeyKind(String key)
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 ww w . ja v a 2 s . c om*/ * @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.//from ww w.j a v a2 s . c om * * @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./* w ww. j a va2 s. c om*/ * * @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; }