Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

oracle.jbo.script.debug.client.bdi
Class Utils

java.lang.Object
  extended by oracle.jbo.script.debug.client.bdi.Utils

public class Utils
extends java.lang.Object


Constructor Summary
Utils()
           
 
Method Summary
static java.lang.String description(com.sun.jdi.ObjectReference ref)
          Return a description of an object.
static long fromHex(java.lang.String hexStr)
          Convert hexadecimal strings to longs.
static java.lang.String getStatus(com.sun.jdi.ThreadReference thr)
          Return the thread status description.
static boolean isJavaIdentifier(java.lang.String s)
           
static boolean isValidMethodName(java.lang.String s)
          private String typedName(Method method) { // TO DO: Use method.signature() instead of method.arguments() so that // we get sensible results for classes without debugging info StringBuffer buf = new StringBuffer(); buf.append(method.name()); buf.append("("); Iterator it = method.arguments().iterator(); while (it.hasNext()) { buf.append(((LocalVariable)it.next()).typeName()); if (it.hasNext()) { buf.append(","); } } buf.append(")"); return buf.toString(); }
static java.lang.String locationString(com.sun.jdi.Location loc)
           
static java.lang.String toHex(long n)
          Convert a long to a hexadecimal string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

getStatus

public static java.lang.String getStatus(com.sun.jdi.ThreadReference thr)
Return the thread status description.


description

public static java.lang.String description(com.sun.jdi.ObjectReference ref)
Return a description of an object.


toHex

public static java.lang.String toHex(long n)
Convert a long to a hexadecimal string.


fromHex

public static long fromHex(java.lang.String hexStr)
Convert hexadecimal strings to longs.


locationString

public static java.lang.String locationString(com.sun.jdi.Location loc)

isValidMethodName

public static boolean isValidMethodName(java.lang.String s)
private String typedName(Method method) { // TO DO: Use method.signature() instead of method.arguments() so that // we get sensible results for classes without debugging info StringBuffer buf = new StringBuffer(); buf.append(method.name()); buf.append("("); Iterator it = method.arguments().iterator(); while (it.hasNext()) { buf.append(((LocalVariable)it.next()).typeName()); if (it.hasNext()) { buf.append(","); } } buf.append(")"); return buf.toString(); }


isJavaIdentifier

public static boolean isJavaIdentifier(java.lang.String s)

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

Copyright © 1997, 2013, Oracle. All rights reserved.