org.codehaus.janino
Interface Java.Locatable
- All Known Subinterfaces:
- Java.BlockStatement, Java.MemberTypeDeclaration, Java.NamedTypeDeclaration, Java.PackageMemberTypeDeclaration, Java.TypeBodyDeclaration, Java.TypeDeclaration
- All Known Implementing Classes:
- Java.AbstractTypeBodyDeclaration, Java.AbstractTypeDeclaration, Java.ConstructorInvocation, Java.FieldDeclaration, Java.Initializer, Java.InterfaceDeclaration, Java.Located, Java.MemberClassDeclaration, Java.MemberInterfaceDeclaration, Java.NamedClassDeclaration, Java.PackageMemberClassDeclaration, Java.PackageMemberInterfaceDeclaration, Java.Statement
- Enclosing interface:
- Java
- public static interface Java.Locatable
This interface is implemented by objects which are associated with a
location in the source code.
getLocation
public Location getLocation()
throwParseException
public void throwParseException(java.lang.String message)
throws Parser.ParseException
- Throw a
Parser.ParseException
with the given message and this
object's location.
- Parameters:
message
- The message to report
- Throws:
Parser.ParseException