FindBugs™ 1.3.9

edu.umd.cs.findbugs.ba
Class XMethodParameter

java.lang.Object
  extended by edu.umd.cs.findbugs.ba.XMethodParameter
All Implemented Interfaces:
java.lang.Comparable<XMethodParameter>

public class XMethodParameter
extends java.lang.Object
implements java.lang.Comparable<XMethodParameter>

Author:
pugh

Constructor Summary
XMethodParameter(XMethod m, int p)
          Create a new Method parameter reference
 
Method Summary
 int compareTo(XMethodParameter mp2)
           
 boolean equals(java.lang.Object o)
           
 XMethod getMethod()
           
 int getParameterNumber()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMethodParameter

public XMethodParameter(XMethod m,
                        int p)
Create a new Method parameter reference

Parameters:
m - the method of which this is a parameter to
p - the parameter index (0 for first parameter)
Method Detail

getMethod

public XMethod getMethod()

getParameterNumber

public int getParameterNumber()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(XMethodParameter mp2)
Specified by:
compareTo in interface java.lang.Comparable<XMethodParameter>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.