Examples of IJavaObject


Examples of org.eclipse.jdt.debug.core.IJavaObject

  /**
   * @see IRuntimeContext#getReceivingType()
   */
  public IJavaReferenceType getReceivingType() throws CoreException {
    IJavaObject rec = getThis();
    if (rec != null) {
      return (IJavaReferenceType) rec.getJavaType();
    }
    return getFrame().getReferenceType();
  }
View Full Code Here

Examples of org.eclipse.jdt.debug.core.IJavaObject

  public ILogicalStructureType[] getLogicalStructureTypes(IValue value) {
    if (!(value instanceof IJavaObject)) {
      return new ILogicalStructureType[0];
    }
    IJavaObject javaValue = (IJavaObject) value;
    List<JavaLogicalStructure> logicalStructures = new ArrayList<JavaLogicalStructure>();
    try {
      IJavaType type = javaValue.getJavaType();
      if (!(type instanceof IJavaClassType)) {
        return new ILogicalStructureType[0];
      }
      IJavaClassType classType = (IJavaClassType) type;
      List<JavaLogicalStructure> list = fJavaLogicalStructureMap
View Full Code Here

Examples of org.eclipse.jdt.debug.core.IJavaObject

              // *explicit* evaluation
              InvocationException invocationException = (InvocationException) exception
                  .getStatus().getException();
              ObjectReference exObject = invocationException
                  .exception();
              IJavaObject modelObject = (IJavaObject) JDIValue
                  .createValue(
                      (JDIDebugTarget) getDebugTarget(),
                      exObject);
              try {
                modelObject
                    .sendMessage(
                        "printStackTrace", "()V", null, jt, false); //$NON-NLS-1$ //$NON-NLS-2$
              } catch (DebugException e) {
                // unable to print stack trace
              }
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.