Java.ArrayInitializerOrRvalue
, Java.BlockStatement
, Java.MemberTypeDeclaration
, Java.NamedTypeDeclaration
, Java.PackageMemberTypeDeclaration
, Java.TypeBodyDeclaration
, Java.TypeDeclaration
Java.AbstractTypeBodyDeclaration
, Java.AbstractTypeDeclaration
, Java.AlternateConstructorInvocation
, Java.AmbiguousName
, Java.AnonymousClassDeclaration
, Java.ArrayAccessExpression
, Java.ArrayInitializer
, Java.ArrayLength
, Java.ArrayType
, Java.AssertStatement
, Java.Assignment
, Java.Atom
, Java.BasicType
, Java.BinaryOperation
, Java.Block
, Java.BooleanLiteral
, Java.BooleanRvalue
, Java.BreakableStatement
, Java.BreakStatement
, Java.Cast
, Java.CatchClause
, Java.CharacterLiteral
, Java.ClassDeclaration
, Java.ClassLiteral
, Java.CompilationUnit.ImportDeclaration
, Java.CompilationUnit.SingleStaticImportDeclaration
, Java.CompilationUnit.SingleTypeImportDeclaration
, Java.CompilationUnit.StaticImportOnDemandDeclaration
, Java.CompilationUnit.TypeImportOnDemandDeclaration
, Java.ConditionalExpression
, Java.ConstructorDeclarator
, Java.ConstructorInvocation
, Java.ContinuableStatement
, Java.ContinueStatement
, Java.Crement
, Java.DoStatement
, Java.EmptyStatement
, Java.ExpressionStatement
, Java.FieldAccess
, Java.FieldAccessExpression
, Java.FieldDeclaration
, Java.FloatingPointLiteral
, Java.ForEachStatement
, Java.ForStatement
, Java.FunctionDeclarator
, Java.FunctionDeclarator.FormalParameter
, Java.FunctionDeclarator.FormalParameters
, Java.IfStatement
, Java.Initializer
, Java.Instanceof
, Java.IntegerLiteral
, Java.InterfaceDeclaration
, Java.Invocation
, Java.LabeledStatement
, Java.Literal
, Java.LocalClassDeclaration
, Java.LocalClassDeclarationStatement
, Java.LocalVariableAccess
, Java.LocalVariableDeclarationStatement
, Java.Located
, Java.Lvalue
, Java.MemberClassDeclaration
, Java.MemberInterfaceDeclaration
, Java.MethodDeclarator
, Java.MethodInvocation
, Java.NamedClassDeclaration
, Java.NewAnonymousClassInstance
, Java.NewArray
, Java.NewClassInstance
, Java.NewInitializedArray
, Java.NullLiteral
, Java.Package
, Java.PackageDeclaration
, Java.PackageMemberClassDeclaration
, Java.PackageMemberInterfaceDeclaration
, Java.ParameterAccess
, Java.ParenthesizedExpression
, Java.QualifiedThisReference
, Java.ReferenceType
, Java.ReturnStatement
, Java.Rvalue
, Java.RvalueMemberType
, Java.SimpleConstant
, Java.SimpleType
, Java.Statement
, Java.StringLiteral
, Java.SuperclassFieldAccessExpression
, Java.SuperclassMethodInvocation
, Java.SuperConstructorInvocation
, Java.SwitchStatement
, Java.SwitchStatement.SwitchBlockStatementGroup
, Java.SynchronizedStatement
, Java.ThisReference
, Java.ThrowStatement
, Java.TryStatement
, Java.Type
, Java.UnaryOperation
, Java.VariableDeclarator
, Java.WhileStatement
public static interface Java.Locatable
Modifier and Type | Method | Description |
---|---|---|
Location |
getLocation() |
|
void |
throwCompileException(String message) |
Throw a
CompileException with the given message and this
object's location. |
Location getLocation()
void throwCompileException(String message) throws CompileException
CompileException
with the given message and this
object's location.message
- The message to reportCompileException
Copyright © 2001–2019. All rights reserved.