|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.util.source.DefaultMethodInfo
public final class DefaultMethodInfo
The default implementation is a POJO that allows to set the properties of a method info.
Constructor Summary | |
---|---|
DefaultMethodInfo(String methodSignature, SourceCodeLocation location) Default constructor. |
Method Summary | |
---|---|
SourceCodeLocation |
getLocation() Returns the location of the test. |
String |
getMethodSignature() Returns the signature of the test method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultMethodInfo(String methodSignature, SourceCodeLocation location) throws IllegalArgumentException, NullPointerException
methodSignature
- the signature of the test method.
location
- the location of the test.
IllegalArgumentException
- if
methodSignature
is blank.
NullPointerException
- if
location
is
null
.
Method Detail |
---|
public String getMethodSignature()
getMethodSignature
in interface
MethodInfo
null
.
public SourceCodeLocation getLocation()
getLocation
in interface
MethodInfo
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |