net.sf.jlayercheck.util
Class MethodCall

java.lang.Object
  extended by net.sf.jlayercheck.util.MethodCall

public class MethodCall
extends Object

Contains the information that a given method of a given class was called in a given line. The type determines if it was a method or a constructor. In case of a constructor, the method name is null.

Author:
webmaster@earth3d.org

Nested Class Summary
static class MethodCall.Type
           
 
Field Summary
protected  String className
           
protected  int lineNumber
           
protected  String methodName
           
protected  MethodCall.Type type
           
 
Constructor Summary
MethodCall(String className, String methodName, MethodCall.Type type, int lineNumber)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getClassName()
           
 int getLineNumber()
           
 String getMethodName()
           
 MethodCall.Type getType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

protected String className

methodName

protected String methodName

type

protected MethodCall.Type type

lineNumber

protected int lineNumber
Constructor Detail

MethodCall

public MethodCall(String className,
                  String methodName,
                  MethodCall.Type type,
                  int lineNumber)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getLineNumber

public int getLineNumber()

getType

public MethodCall.Type getType()

getMethodName

public String getMethodName()

getClassName

public String getClassName()


Copyright © 2007. All Rights Reserved.