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

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.VariableBinding


*/
public void complainOnDeferredChecks(FlowInfo flowInfo, BlockScope scope) {
 
  // check redundant final assignments
  for (int i = 0; i < this.assignCount; i++) {
    VariableBinding variable = this.finalVariables[i];
    if (variable == null) continue;
   
    boolean complained = false; // remember if have complained on this final assignment
    if (variable instanceof FieldBinding) {
      // final field
View Full Code Here


* @param flowInfo the flow info against which checks must be performed
*/
public void complainOnDeferredFinalChecks(BlockScope scope, FlowInfo flowInfo) {
  // complain on final assignments in loops
  for (int i = 0; i < assignCount; i++) {
    VariableBinding variable = finalVariables[i];
    if (variable == null) continue;
    boolean complained = false; // remember if have complained on this final assignment
    if (variable instanceof FieldBinding) {
      if (flowInfo.isPotentiallyAssigned((FieldBinding) variable)) {
        complained = true;
View Full Code Here

TOP

Related Classes of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.VariableBinding

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.