|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.maven.util.report.link.JavaElementRef
public class JavaElementRef
A reference to a Java element. This is string based since the class is not necessarily on the class path of the report.
Constructor Summary | |
---|---|
JavaElementRef(String packageName, String typeName, de.smartics.util.source.MethodInfo elementName) Default constructor. |
Method Summary | |
---|---|
de.smartics.util.source.MethodInfo |
getElementName() Returns the name of the element. |
String |
getPackageName() Returns the name of the package. |
String |
getTypeName() Returns the name of the Java class. |
String |
toString() Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JavaElementRef(String packageName, String typeName, de.smartics.util.source.MethodInfo elementName) throws IllegalArgumentException
packageName
- the name of the package.
typeName
- the name of the Java class.
elementName
- the name of the element.
IllegalArgumentException
- if
typeName
is blank or
packageName
is empty or consists only of whitespaces.
Method Detail |
---|
public String getPackageName()
public String getTypeName()
@CheckForNull public de.smartics.util.source.MethodInfo getElementName()
null
.
public String toString()
toString
in class
Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |