Package com.dragome.compiler.ast

Examples of com.dragome.compiler.ast.CastExpression


      }

      case Const.CHECKCAST:
      {

        CastExpression cast= new CastExpression();
        int index= bytes.readUnsignedShort();
        ConstantClass c= (ConstantClass) constantPool.getConstant(index);
        ObjectType type= new ObjectType(c.getBytes(constantPool).replace('/', '.'));
        cast.setTypeBinding(type);
        cast.setExpression(stack.pop());
        instruction= cast;
        break;
      }

      case Const.INSTANCEOF:
View Full Code Here

TOP

Related Classes of com.dragome.compiler.ast.CastExpression

Copyright © 2018 www.massapicom. 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.