コード例 #1
0
 /* (non-Javadoc)
  * @see org.eclipse.wst.jsdt.debug.core.jsdi.ObjectReference#prototype()
  */
 public Value prototype() {
   synchronized (frame) {
     if (prototype == null) {
       if (protoref == null) {
         prototype = crossfire().mirrorOfUndefined();
       }
       prototype = frame.lookup(protoref);
     }
   }
   return prototype;
 }
コード例 #2
0
 /* (non-Javadoc)
  * @see org.eclipse.wst.jsdt.debug.core.jsdi.ObjectReference#constructor()
  */
 public Value constructor() {
   synchronized (frame) {
     if (constructor == null) {
       if (constref == null) {
         constructor = crossfire().mirrorOfUndefined();
       }
       constructor = frame.lookup(constref);
     }
   }
   return constructor;
 }