Package org.aspectj.weaver.ResolvedTypeMunger

Examples of org.aspectj.weaver.ResolvedTypeMunger.Kind


      model.addAspectInEffectThisBuild(sourceNode.getSourceLocation().getSourceFile());
    }
  }

  private static boolean isMixinRelated(ResolvedTypeMunger typeTransformer) {
    Kind kind = typeTransformer.getKind();
    return kind == ResolvedTypeMunger.MethodDelegate2 || kind == ResolvedTypeMunger.FieldHost
        || (kind == ResolvedTypeMunger.Parent && ((NewParentTypeMunger) typeTransformer).isMixin());
  }
View Full Code Here


   */
  private static IProgramElement createIntertypeDeclaredChild(AsmManager model, ResolvedType aspect, BcelTypeMunger itd) {
    ResolvedTypeMunger rtMunger = itd.getMunger();

    ResolvedMember sig = rtMunger.getSignature();
    Kind kind = rtMunger.getKind();
    if (kind == ResolvedTypeMunger.Field) { // ITD FIELD
      // String name = rtMunger.getSignature().toString();
      String name = sig.getDeclaringType().getClassName() + "." + sig.getName();
      if (name.indexOf("$") != -1) {
        name = name.substring(name.indexOf("$") + 1);
View Full Code Here

      model.addAspectInEffectThisBuild(sourceNode.getSourceLocation().getSourceFile());
    }
  }

  private static boolean isMixinRelated(ResolvedTypeMunger typeTransformer) {
    Kind kind = typeTransformer.getKind();
    return kind == ResolvedTypeMunger.MethodDelegate2 || kind == ResolvedTypeMunger.FieldHost
        || (kind == ResolvedTypeMunger.Parent && ((NewParentTypeMunger) typeTransformer).isMixin());
  }
View Full Code Here

   */
  private static IProgramElement createIntertypeDeclaredChild(AsmManager model, ResolvedType aspect, BcelTypeMunger itd) {
    ResolvedTypeMunger rtMunger = itd.getMunger();

    ResolvedMember sig = rtMunger.getSignature();
    Kind kind = rtMunger.getKind();
    if (kind == ResolvedTypeMunger.Field) { // ITD FIELD
      // String name = rtMunger.getSignature().toString();
      String name = sig.getDeclaringType().getClassName() + "." + sig.getName();
      if (name.indexOf("$") != -1) {
        name = name.substring(name.indexOf("$") + 1);
View Full Code Here

      model.addAspectInEffectThisBuild(sourceNode.getSourceLocation().getSourceFile());
    }
  }

  private static boolean isMixinRelated(ResolvedTypeMunger typeTransformer) {
    Kind kind = typeTransformer.getKind();
    return kind == ResolvedTypeMunger.MethodDelegate2 || kind == ResolvedTypeMunger.FieldHost
        || (kind == ResolvedTypeMunger.Parent && ((NewParentTypeMunger) typeTransformer).isMixin());
  }
View Full Code Here

   */
  private static IProgramElement createIntertypeDeclaredChild(AsmManager model, ResolvedType aspect, BcelTypeMunger itd) {
    ResolvedTypeMunger rtMunger = itd.getMunger();

    ResolvedMember sig = rtMunger.getSignature();
    Kind kind = rtMunger.getKind();
    if (kind == ResolvedTypeMunger.Field) { // ITD FIELD
      // String name = rtMunger.getSignature().toString();
      String name = sig.getDeclaringType().getClassName() + "." + sig.getName();
      if (name.indexOf("$") != -1) {
        name = name.substring(name.indexOf("$") + 1);
View Full Code Here

TOP

Related Classes of org.aspectj.weaver.ResolvedTypeMunger.Kind

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.