Package edu.cmu.cs.crystal.tac.model

Examples of edu.cmu.cs.crystal.tac.model.SourceVariable


        // figure out whether it's declared locally
        IMethodBinding declaredIn = vb.getDeclaringMethod();
        while(declaredIn != null && declaredIn != declaredIn.getMethodDeclaration()) {
          declaredIn = declaredIn.getMethodDeclaration();
        }
        result = new SourceVariable(vb.getName(), vb, method.equals(declaredIn));
      }
      else if(binding instanceof ITypeBinding) {
        ITypeBinding tb = (ITypeBinding) binding;
        result = new TypeVariable(tb);
      }
View Full Code Here


        // figure out whether it's declared locally
        IMethodBinding declaredIn = vb.getDeclaringMethod();
        while(declaredIn != null && declaredIn != declaredIn.getMethodDeclaration()) {
          declaredIn = declaredIn.getMethodDeclaration();
        }
        result = new SourceVariable(vb.getName(), vb, method.equals(declaredIn));
      }
      else if(binding instanceof ITypeBinding) {
        ITypeBinding tb = (ITypeBinding) binding;
        result = new TypeVariable(tb);
      }
View Full Code Here

TOP

Related Classes of edu.cmu.cs.crystal.tac.model.SourceVariable

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.