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

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


      } else if (e instanceof SingleNameReference) {
        SingleNameReference snr = (SingleNameReference) e;
        if (snr.binding instanceof ReferenceBinding) {
          output.append(CharOperation.concatWith(((ReferenceBinding) snr.binding).compoundName, '.'));
        } else if (snr.binding instanceof ParameterizedFieldBinding) {
          ParameterizedFieldBinding pfb = (ParameterizedFieldBinding) snr.binding;
          output.append(pfb.name);
        } else if (snr.binding instanceof LocalVariableBinding) {
          LocalVariableBinding lvb = (LocalVariableBinding) snr.binding;
          output.append(lvb.name);
        } else if (snr.binding instanceof FieldBinding) {
View Full Code Here


  if ((flowInfo.tagBits & FlowInfo.UNREACHABLE) != 0) return;
 
  // if field from parameterized type got found, use the original field at codegen time
  if (this.binding instanceof ParameterizedFieldBinding) {
      ParameterizedFieldBinding parameterizedField = (ParameterizedFieldBinding) this.binding;
      this.codegenBinding = parameterizedField.originalField;
      // extra cast needed if field type was type variable
      if (this.codegenBinding.type.isTypeVariable()) {
          TypeVariableBinding variableReturnType = (TypeVariableBinding) this.codegenBinding.type;
          if (variableReturnType.firstBound != parameterizedField.type) { // no need for extra cast if same as first bound anyway
View Full Code Here

TOP

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

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.