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 core of the Janino Java 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 location)May or may not choose to throw aCompileException.voidWarningHandler. handleWarning(String handle, String message, Location location)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 location)An infix"NYI"in the message string indicates that the compiler has a known limitation here.CompileException(String message, Location location, Throwable cause)An infix"NYI"in the message string indicates that the compiler has a known limitation here.LocatedException(String message, Location location)LocatedException(String message, Location location, Throwable cause) -
Uses of Location in org.codehaus.janino
Methods in org.codehaus.janino that return Location Modifier and Type Method Description LocationJava.AbstractAnnotation. getLocation()LocationJava.AbstractTypeDeclaration. getLocation()LocationJava.Locatable. getLocation()LocationJava.Located. getLocation()LocationToken. getLocation()LocationParser. location()LocationScanner. location()LocationTokenStream. location()LocationTokenStreamImpl. location()Methods in org.codehaus.janino with parameters of type Location Modifier and Type Method Description static Java.AccessModifier[]Java. accessModifiers(Location location, String... keywords)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 exceptionsJava.Type[]ClassBodyEvaluator. classesToTypes(Location location, Class<?>[] classes)protected Java.Type[]ExpressionEvaluator. classesToTypes(Location location, Class<?>... classes)protected Java.Type[]ScriptEvaluator. classesToTypes(Location location, Class<?>[] classes)protected Java.Type[]SimpleCompiler. classesToTypes(Location location, Class<?>[] classes)protected Java.TypeClassBodyEvaluator. classToType(Location location, Class<?> clazz)protected Java.TypeExpressionEvaluator. classToType(Location location, Class<?> clazz)protected Java.TypeScriptEvaluator. classToType(Location loc, Class<?> clazz)protected Java.TypeSimpleCompiler. classToType(Location location, Class<?> clazz)protected static CompileExceptionParser. compileException(String message, Location location)Convenience method for throwing aCompileException.String[]UnitCompiler. getSingleTypeImport(String name, Location location)Checks if the given simple name was imported through a single type import.voidFilterWarningHandler. handleWarning(String handle, String message, Location location)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.TypeClassBodyEvaluator. optionalClassToType(Location location, Class<?> clazz)protected Java.TypeExpressionEvaluator. optionalClassToType(Location location, Class<?> clazz)protected Java.TypeScriptEvaluator. optionalClassToType(Location loc, Class<?> clazz)protected Java.TypeSimpleCompiler. optionalClassToType(Location location, Class<?> clazz)
-