|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry.annotations.AnnotationLocation
public class AnnotationLocation
Implementation of Location
that is used to identify the class and/or
method and annotation. This is useful for line-precise exception reporting of errors related to
annotations.
Constructor Summary | |
---|---|
AnnotationLocation(org.apache.hivemind.Resource resource,
java.lang.String description)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
|
int |
getColumnNumber()
Always returns 0. |
int |
getLineNumber()
Always returns 0. |
org.apache.hivemind.Resource |
getResource()
Returns a resource corresponding to the Java class. |
java.lang.String |
toString()
Returns the location's description. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AnnotationLocation(org.apache.hivemind.Resource resource, java.lang.String description)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public org.apache.hivemind.Resource getResource()
getResource
in interface org.apache.hivemind.Location
public int getLineNumber()
getLineNumber
in interface org.apache.hivemind.Location
public int getColumnNumber()
getColumnNumber
in interface org.apache.hivemind.Location
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |