Package com.sun.jdi

Examples of com.sun.jdi.ClassType.genericSignature()


  public boolean isEnum() {
    if (virtualMachineImpl().isJdwpVersionGreaterOrEqual(1, 5)) {
      // there is no modifier for this ... :(
      ClassType superClass = superclass();
      return superClass != null
          && "<E:Ljava/lang/Enum<TE;>;>Ljava/lang/Object;Ljava/lang/Comparable<TE;>;Ljava/io/Serializable;".equals(superClass.genericSignature()); //$NON-NLS-1$
    }
    // jdwp 1.5 only option
    return false;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.