Package org.aspectj.weaver

Examples of org.aspectj.weaver.Lint$Kind


      }
    }
  }

  protected void lint(String name, String[] infos) {
    Lint lint = bcelWorld.getLint();
    Kind kind = lint.getLintKind(name);
    kind.signal(infos, null, null);
  }
View Full Code Here


    // TODO deal with injars, inpath, and aspectpath here...
  }

  private void setLintProperties(BcelWorld world, AjCompilerOptions options) {
    Properties p = new Properties();
    Lint lintSettings = world.getLint();
    Map map = options.getMap();
    p.put(lintSettings.invalidAbsoluteTypeName.getName(), map.get(AjCompilerOptions.OPTION_ReportInvalidAbsoluteTypeName));
    p.put(lintSettings.invalidWildcardTypeName.getName(), map.get(AjCompilerOptions.OPTION_ReportInvalidWildcardTypeName));
    p.put(lintSettings.unresolvableMember.getName(), map.get(AjCompilerOptions.OPTION_ReportUnresolvableMember));
    p.put(lintSettings.typeNotExposedToWeaver.getName(), map.get(AjCompilerOptions.OPTION_ReportTypeNotExposedToWeaver));
    p.put(lintSettings.shadowNotInStructure.getName(), map.get(AjCompilerOptions.OPTION_ReportShadowNotInStructure));
    p.put(lintSettings.unmatchedSuperTypeInCall.getName(), map.get(AjCompilerOptions.OPTION_ReportUnmatchedSuperTypeInCall));
    p.put(lintSettings.canNotImplementLazyTjp.getName(), map.get(AjCompilerOptions.OPTION_ReportCannotImplementLazyTJP));
    p.put(lintSettings.needsSerialVersionUIDField.getName(), map.get(AjCompilerOptions.OPTION_ReportNeedSerialVersionUIDField));
    p.put(lintSettings.serialVersionUIDBroken.getName(), map.get(AjCompilerOptions.OPTION_ReportIncompatibleSerialVersion));
    lintSettings.setFromProperties(p);
  }
View Full Code Here

      }
    }
  }

  protected void lint(String name, String[] infos) {
    Lint lint = bcelWorld.getLint();
    Kind kind = lint.getLintKind(name);
    kind.signal(infos, null, null);
  }
View Full Code Here

      }
    }
  }

  protected void lint(String name, String[] infos) {
    Lint lint = bcelWorld.getLint();
    Kind kind = lint.getLintKind(name);
    kind.signal(infos, null, null);
  }
View Full Code Here

    // TODO deal with injars, inpath, and aspectpath here...
  }
 
  private void setLintProperties(BcelWorld world, AjCompilerOptions options) {
    Properties p = new Properties();
    Lint lintSettings = world.getLint();
    Map map = options.getMap();
    p.put(lintSettings.invalidAbsoluteTypeName.getName(),map.get(AjCompilerOptions.OPTION_ReportInvalidAbsoluteTypeName));
    p.put(lintSettings.invalidWildcardTypeName.getName(),map.get(AjCompilerOptions.OPTION_ReportInvalidWildcardTypeName));
    p.put(lintSettings.unresolvableMember.getName(),map.get(AjCompilerOptions.OPTION_ReportUnresolvableMember));
    p.put(lintSettings.typeNotExposedToWeaver.getName(),map.get(AjCompilerOptions.OPTION_ReportTypeNotExposedToWeaver));
    p.put(lintSettings.shadowNotInStructure.getName(),map.get(AjCompilerOptions.OPTION_ReportShadowNotInStructure));
    p.put(lintSettings.unmatchedSuperTypeInCall.getName(),map.get(AjCompilerOptions.OPTION_ReportUnmatchedSuperTypeInCall));
    p.put(lintSettings.canNotImplementLazyTjp.getName(),map.get(AjCompilerOptions.OPTION_ReportCannotImplementLazyTJP));
    p.put(lintSettings.needsSerialVersionUIDField.getName(),map.get(AjCompilerOptions.OPTION_ReportNeedSerialVersionUIDField));
    p.put(lintSettings.serialVersionUIDBroken.getName(),map.get(AjCompilerOptions.OPTION_ReportIncompatibleSerialVersion));
    lintSettings.setFromProperties(p);
  }
View Full Code Here

            }
        }
    }

    protected void lint (String name, String[] infos) {
      Lint lint = bcelWorld.getLint();
      Kind kind = lint.getLintKind(name);
      kind.signal(infos,null,null);
    }
View Full Code Here

TOP

Related Classes of org.aspectj.weaver.Lint$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.