Package edu.umd.cs.findbugs.ba

Examples of edu.umd.cs.findbugs.ba.XMethod


  public void sawOpcode(int seen) {
    switch (seen) {
      case INVOKEVIRTUAL:
      case INVOKESPECIAL:
      case INVOKESTATIC:
        XMethod callSeen = XFactory.createXMethod(MethodAnnotation.fromCalledMethod(this));
        MoreDefaultEncodingAnnotation annotation = defaultEncodingAnnotationDatabase.getDirectAnnotation(callSeen);
        if (annotation != null) {
          bugAccumulator.accumulateBug(new BugInstance(this, "DM_MORE_DEFAULT_ENCODING", HIGH_PRIORITY).addClassAndMethod(this)
                                                                                                  .addCalledMethod(this), this);
        }
View Full Code Here

TOP

Related Classes of edu.umd.cs.findbugs.ba.XMethod

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.