public class TaintLocation extends Object implements Comparable<TaintLocation>
| Constructor and Description |
|---|
TaintLocation(edu.umd.cs.findbugs.classfile.MethodDescriptor methodDescriptor,
int position,
String taintedSource)
Constructs a location from the specified method and position inside
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TaintLocation other) |
boolean |
equals(Object obj) |
edu.umd.cs.findbugs.classfile.MethodDescriptor |
getMethodDescriptor()
Returns the method of this location
|
int |
getPosition()
Returns the position in the method of this location
|
String |
getTaintSource() |
int |
hashCode() |
String |
toString() |
public TaintLocation(edu.umd.cs.findbugs.classfile.MethodDescriptor methodDescriptor,
int position,
String taintedSource)
methodDescriptor - method of the locationposition - position in the methodNullPointerException - if method is nullIllegalArgumentException - if position is negativepublic edu.umd.cs.findbugs.classfile.MethodDescriptor getMethodDescriptor()
public int getPosition()
public String getTaintSource()
public int compareTo(TaintLocation other)
compareTo in interface Comparable<TaintLocation>Copyright © 2017. All rights reserved.