Uses of Class
org.codehaus.commons.compiler.Location
-
Packages that use Location Package Description org.codehaus.commons.compiler This package declares interfaces for the implementation of anIExpressionEvaluator, anIScriptEvaluator, anIClassBodyEvaluatorand anISimpleCompiler.org.codehaus.janino The classes in this package pose the core of the Janino JavaTM compiler. -
-
Uses of Location in org.codehaus.commons.compiler
Fields in org.codehaus.commons.compiler declared as Location Modifier and Type Field Description static LocationLocation. NOWHERERepresentation of an unspecified location.Methods in org.codehaus.commons.compiler that return Location Modifier and Type Method Description LocationLocatedException. getLocation()Methods in org.codehaus.commons.compiler with parameters of type Location Modifier and Type Method Description voidErrorHandler. handleError(String message, Location optionalLocation)May or may not choose to throw aCompileException.voidWarningHandler. handleWarning(String handle, String message, Location optionalLocation)May or may not choose to throw aCompileException.Constructors in org.codehaus.commons.compiler with parameters of type Location Constructor Description CompileException(String message, Location optionalLocation)CompileException(String message, Location optionalLocation, Throwable cause)LocatedException(String message, Location optionalLocation)LocatedException(String message, Location optionalLocation, Throwable optionalCause) -
Uses of Location in org.codehaus.janino
Methods in org.codehaus.janino that return Location Modifier and Type Method Description LocationJava.AbstractTypeDeclaration. getLocation()LocationJava.Locatable. getLocation()LocationJava.Located. getLocation()LocationScanner.Token. getLocation()LocationParser. location()LocationScanner. location()Methods in org.codehaus.janino with parameters of type Location Modifier and Type Method Description protected Java.PackageMemberClassDeclarationClassBodyEvaluator. addPackageMemberClassDeclaration(Location location, Java.CompilationUnit compilationUnit)To the givenJava.CompilationUnit, add A class declaration with the configured name, superclass and interfaces A method declaration with the given return type, name, parameter names and values and thrown exceptionsprotected Java.Type[]SimpleCompiler. classesToTypes(Location location, Class[] classes)protected Java.TypeSimpleCompiler. classToType(Location location, Class clazz)String[]UnitCompiler. getSingleTypeImport(String name, Location location)Check if the given simple name was imported through a single type import.voidCompiler.SimpleWarningHandler. handleWarning(String handle, String message, Location optionalLocation)voidFilterWarningHandler. handleWarning(String handle, String message, Location optionalLocation)IClassUnitCompiler. importTypeOnDemand(String simpleTypeName, Location location)6.5.2.BL1.B1.B5, 6.5.2.BL1.B1.B6 Type-import-on-demand.
6.5.5.1.6 Type-import-on-demand declaration.protected Java.MethodDeclaratorScriptEvaluator. makeMethodDeclaration(Location location, Java.Annotation[] annotations, boolean staticMethod, Class returnType, String methodName, Class[] parameterTypes, String[] parameterNames, Class[] thrownExceptions, List<Java.BlockStatement> statements)To the givenJava.ClassDeclaration, add A public method declaration with the given return type, name, parameter names and values and thrown exceptions A block
-