Package org.aspectj.weaver.tools

Examples of org.aspectj.weaver.tools.Traceable.toTraceString()


      try {

        /* Classes can provide an alternative implementation of toString() */
        if (obj instanceof Traceable) {
          Traceable t = (Traceable) obj;
          return t.toTraceString();
        } else {
          return obj.getClass().getName() + "@" + Integer.toHexString(System.identityHashCode(obj));
        }

        /* Object.hashCode() can be override and may thow an exception */
 
View Full Code Here


      try {

        /* Classes can provide an alternative implementation of toString() */
        if (obj instanceof Traceable) {
          Traceable t = (Traceable) obj;
          return t.toTraceString();
        } else {
          return obj.getClass().getName() + "@" + Integer.toHexString(System.identityHashCode(obj));
        }

        /* Object.hashCode() can be override and may thow an exception */
 
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.