Examples of SyntheticFieldBinding


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

  // that would make things easier
  /**
   * Build a new Eclipse SyntheticFieldBinding for an AspectJ ResolvedMember.
   */
  public SyntheticFieldBinding createSyntheticFieldBinding(SourceTypeBinding owningType, ResolvedMember member) {
    SyntheticFieldBinding sfb = new SyntheticFieldBinding(member.getName().toCharArray(),
        makeTypeBinding(member.getReturnType()), member.getModifiers() | Flags.AccSynthetic, owningType,
        Constant.NotAConstant, -1); // index
    // filled in
    // later
    owningType.addSyntheticField(sfb);
View Full Code Here

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

    currentType = declaringType;

    FieldBinding fb = null;
    if (member.getName().startsWith(NameMangler.PREFIX)) {
      fb = new SyntheticFieldBinding(member.getName().toCharArray(), makeTypeBinding(member.getReturnType()),
          member.getModifiers() | Flags.AccSynthetic, currentType, Constant.NotAConstant, -1); // index filled in later
    } else {
      fb = new FieldBinding(member.getName().toCharArray(), makeTypeBinding(member.getReturnType()), member.getModifiers(),
          currentType, Constant.NotAConstant);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.