Package org.aspectj.org.eclipse.jdt.internal.compiler.ast

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.ast.QualifiedNameReference


          super.unusedPrivateMethod(methodDecl);
    }
   
    public void caseExpressionMustBeConstant(Expression expression) {
      if (expression instanceof QualifiedNameReference) {
        QualifiedNameReference qnr = (QualifiedNameReference)expression;
        if (qnr.otherBindings!=null && qnr.otherBindings.length>0 && qnr.otherBindings[0] instanceof PrivilegedFieldBinding) {
          super.signalError(expression.sourceStart,expression.sourceEnd,"Fields accessible due to an aspect being privileged can not be used in switch statements");
          referenceContext.tagAsHavingErrors();
          return;
        }
View Full Code Here


 
  public static NameReference makeNameReference(TypeBinding binding) {
   
      char[][] name = new char[][] {binding.sourceName()};
      long[] dummyPositions = new long[name.length];
      QualifiedNameReference ref =
      new QualifiedNameReference(name, dummyPositions, 0, 0);
    ref.binding = binding;    ref.constant = Constant.NotAConstant;
    return ref;
  }
View Full Code Here

TOP

Related Classes of org.aspectj.org.eclipse.jdt.internal.compiler.ast.QualifiedNameReference

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.