org.metasyntactic.tool.codecounter
Class JavaSourceMethod

java.lang.Object
  |
  +--org.metasyntactic.tool.codecounter.JavaSourceMethod

public class JavaSourceMethod
extends java.lang.Object

JavaSourceMethod --- A record representing one Java method. A component of the JavaSourceClass class.


Field Summary
 int loc
          The lines of code in this method.
 java.lang.String name
          The name of this method.
 
Constructor Summary
JavaSourceMethod(java.lang.String packageName, java.lang.String className)
           
 
Method Summary
 java.lang.String toString()
          Returns a string representing this method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

loc

public int loc
The lines of code in this method.


name

public java.lang.String name
The name of this method.

Constructor Detail

JavaSourceMethod

public JavaSourceMethod(java.lang.String packageName,
                        java.lang.String className)
Method Detail

toString

public java.lang.String toString()
Returns a string representing this method.

Overrides:
toString in class java.lang.Object