Package org.eclipse.jdt.internal.core.util

Examples of org.eclipse.jdt.internal.core.util.KeyKind


   * Returns whether this binding key represents a raw type.
   *
   * @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;
  }
View Full Code Here


   * Returns whether this binding key represents a parameterized type, or if its declaring type is a parameterized type.
   *
   * @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;
  }
View Full Code Here

   * Returns whether this binding key represents a parameterized method, or if its declaring method is a parameterized method.
   *
   * @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;
  }
View Full Code Here

    int end = this.key.lastIndexOf(Signature.C_DOT);
    if (end == -1) {
      end = this.key.lastIndexOf(Signature.C_DOLLAR); // for inner types
      if (end == -1) return null;
    }
    KeyKind kind = new KeyKind(this.key);
    kind.parse();
    if ((kind.flags & KeyKind.F_LOCAL_VAR) != 0) {
      // declaring type for locals doesn't make sense, hence return null.
      return null;
    }
    String typeKey = this.key.substring(0, end);
View Full Code Here

   * Returns whether this binding key represents a raw type.
   *
   * @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;
  }
View Full Code Here

   * Returns whether this binding key represents a parameterized type, or if its declaring type is a parameterized type.
   *
   * @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;
  }
View Full Code Here

   * Returns whether this binding key represents a parameterized method, or if its declaring method is a parameterized method.
   *
   * @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;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.core.util.KeyKind

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.