Uses of Class
org.codehaus.commons.compiler.CompileException
Packages that use CompileException
Package
Description
This package declares interfaces for the implementation of an
IExpressionEvaluator, an IScriptEvaluator, an
IClassBodyEvaluator and an ISimpleCompiler.An implementation of the
org.codehaus.commons.compiler API that uses the "JAVAC" Java compiler that is
part of the "Java Development Kit" (JDK).The core of the Janino Java compiler.
Sample applications for the Janino Java compiler.
Application-independent helper classes.
-
Uses of CompileException in org.codehaus.commons.compiler
Methods in org.codehaus.commons.compiler that throw CompileExceptionModifier and TypeMethodDescriptionfinal booleanbooleanReads a set of Java compilation units (a.k.a.voidfinal voidCookable.cook(InputStream is) final voidCookable.cook(InputStream is, String encoding) final voidfinal voidfinal voidCookable.cook(String fileName, InputStream is) final voidCookable.cook(String fileName, InputStream is, String encoding) abstract voidfinal voidvoidICookable.cook(InputStream is) Reads, scans, parses and compiles Java tokens from the givenInputStream, encoded in the "platform default encoding".voidICookable.cook(InputStream is, String encoding) Reads, scans, parses and compiles Java tokens from the givenInputStreamwith the givenencoding.voidReads, scans, parses and compiles Java tokens from the givenReader.voidReads, scans, parses and compiles Java tokens from the givenString.voidICookable.cook(String fileName, InputStream is) Reads, scans, parses and compiles Java tokens from the givenInputStream, encoded in the "platform default encoding".voidICookable.cook(String fileName, InputStream is, String encoding) Reads, scans, parses and compiles Java tokens from the givenInputStreamwith the givenencoding.voidReads, scans, parses and compiles Java tokens from the givenReader.voidReads, scans, parses and compiles Java tokens from the givenString.voidIMultiCookable.cook(InputStream... inputStreams) Same asCookable.cook(InputStream), but cooks a set of documents into one class.voidIMultiCookable.cook(InputStream[] inputStreams, String[] encodings) Same asCookable.cook(InputStream, String), but cooks a set of documents into one class.voidSame asCookable.cook(Reader), but cooks a set of documents into one class.voidSame asCookable.cook(String), but cooks a set of documents into one class.voidIMultiCookable.cook(String[] fileNames, InputStream[] inputStreams) Same asCookable.cook(String, InputStream), but cooks a set of documents into one class.voidIMultiCookable.cook(String[] fileNames, InputStream[] inputStreams, String[] encodings) Same asCookable.cook(String, InputStream, String), but cooks a set of documents into one class.voidSame asCookable.cook(String, Reader), but cooks a set of documents into one class.voidSame asCookable.cook(String, String), but cooks a set of documents into one class.voidSame asICookable.cook(Reader), but for multiple scripts.voidSame asICookable.cook(String), but for multiple scripts.voidSame asICookable.cook(String, Reader), but cooks a set of scripts into one class.voidSame asICookable.cook(String, String), but for multiple scripts.final voidMultiCookable.cook(InputStream... inputStreams) final voidMultiCookable.cook(InputStream[] inputStreams, String[] encodings) final voidfinal voidfinal voidMultiCookable.cook(String[] fileNames, InputStream[] inputStreams) final voidMultiCookable.cook(String[] fileNames, InputStream[] inputStreams, String[] encodings) abstract voidfinal voidfinal voidfinal voidfinal voidfinal voidvoidReads, scans, parses and compiles Java tokens from the givenFile, encoded in the "platform default encoding".voidReads, scans, parses and compiles Java tokens from the givenFilewith the givenencoding.voidReads, scans, parses and compiles Java tokens from the named file, encoded in the "platform default encoding".voidReads, scans, parses and compiles Java tokens from the named file with the given encoding.voidSame asCookable.cookFile(File), but cooks a set of documents into one class.voidSame asCookable.cookFile(File, String), but cooks a set of documents into one class.voidSame asCookable.cookFile(String), but cooks a set of documents into one class.voidSame asCookable.cookFile(String, String), but cooks a set of documents into one class.final voidfinal voidfinal voidfinal void<T> TIExpressionEvaluator.createFastEvaluator(Reader reader, Class<? extends T> interfaceToImplement, String... parameterNames) <T> TIExpressionEvaluator.createFastEvaluator(String expression, Class<? extends T> interfaceToImplement, String... parameterNames) If the parameter and return types of the expression are known at compile time, then a "fast" expression evaluator can be instantiated throughIExpressionEvaluator.createFastEvaluator(String, Class, String[]).<T> TIScriptEvaluator.createFastEvaluator(Reader reader, Class<T> interfaceToImplement, String[] parameterNames) If the parameter and return types of the expression are known at compile time, then a "fast" script evaluator can be instantiated through this method.<T> TIScriptEvaluator.createFastEvaluator(String script, Class<T> interfaceToImplement, String[] parameterNames) IClassBodyEvaluator.createInstance(Reader reader) Scans, parses and compiles a class body from the tokens delivered by the the givenReader, then creates and returns an instance of that class.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. -
Uses of CompileException in org.codehaus.commons.compiler.jdk
Methods in org.codehaus.commons.compiler.jdk that throw CompileExceptionModifier and TypeMethodDescriptionvoidvoidvoidprotected voidvoidvoidvoidprotected final voidvoidvoid<T> TExpressionEvaluator.createFastEvaluator(Reader reader, Class<? extends T> interfaceToImplement, String... parameterNames) <T> TExpressionEvaluator.createFastEvaluator(String expression, Class<? extends T> interfaceToImplement, String... parameterNames) <T> TScriptEvaluator.createFastEvaluator(Reader r, Class<T> interfaceToImplement, String[] parameterNames) <T> TScriptEvaluator.createFastEvaluator(String script, Class<T> interfaceToImplement, String[] parameterNames) ClassBodyEvaluator.createInstance(Reader reader) Constructors in org.codehaus.commons.compiler.jdk that throw CompileExceptionModifierConstructorDescriptionExpressionEvaluator(String expression, Class<?> expressionType, String[] parameterNames, Class<?>[] parameterTypes) Equivalent toExpressionEvaluator(String expression, Class<?> expressionType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, Class<?> extendedType, Class<?>[] implementedTypes, ClassLoader parentClassLoader) Equivalent toExpressionEvaluator(String expression, Class<?> expressionType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toScriptEvaluator(String script) Equivalent toScriptEvaluator(String fileName, InputStream is, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toScriptEvaluator(String fileName, Reader reader, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toScriptEvaluator(String script, Class<?> returnType) Equivalent toScriptEvaluator(String script, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes) Equivalent toScriptEvaluator(String script, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions) Equivalent to -
Uses of CompileException in org.codehaus.janino
Methods in org.codehaus.janino that return CompileExceptionModifier and TypeMethodDescriptionprotected final CompileExceptionParser.compileException(String message) Convenience method for throwing aCompileException.protected static CompileExceptionParser.compileException(String message, Location location) Convenience method for throwing aCompileException.protected final CompileExceptionTokenStreamImpl.compileException(String message) Convenience method for throwing aCompileException.Methods in org.codehaus.janino that throw CompileExceptionModifier and TypeMethodDescriptionprotected voidUnitCompiler.buildLocalVariableMap(Java.CatchClause catchClause, Map<String, Java.LocalVariable> localVars) Adds the given localVars to the 'local variable map' of the given catchClause.voidprotected final ClassLoaderSimpleCompiler.compileToClassLoader(Java.AbstractCompilationUnit abstractCompilationUnit) Compiles the given compilation unit.voidUnitCompiler.compileUnit(boolean debugSource, boolean debugLines, boolean debugVars, Collection<ClassFile> generatedClassFiles) Generates a set ofClassFileobjects which represent the classes and interfaces declared in the compilation unit.voidUnitCompiler.compileUnit(boolean debugSource, boolean debugLines, boolean debugVars, UnitCompiler.ClassFileConsumer storesClassFiles) Generates a set ofClassFileobjects which represent the classes and interfaces declared in the compilation unit.final voidvoidvoidvoidfinal voidfinal voidfinal voidLikeExpressionEvaluator.cook(Scanner), but cooks a set of scripts into one class.final voidOn a 2 GHz Intel Pentium Core Duo under Windows XP with an IBM 1.4.2 JDK, compiling 10000 expressions "a + b" (integer) takes about 4 seconds and 56 MB of main memory.voidprotected voidScriptEvaluator.cook(Java.CompilationUnit compilationUnit) Compiles the given compilationUnit, defines it into aClassLoader, loads the generated class, gets the script methods from that class, and makes them available throughScriptEvaluator.getMethod(int).final voidScriptEvaluator.cook(Java.CompilationUnit compilationUnit, Collection<Java.MethodDeclarator> methodDeclarators) final voidfinal voidCooks a set of scripts into one class.final voidScans, parses and compiles a given compilation unit from the givenReader.voidSimpleCompiler.cook(Java.AbstractCompilationUnit abstractCompilationUnit) Cooks this compilation unit directly.voidScans, parses and compiles a given compilation unit from the given scanner.static ObjectClassBodyEvaluator.createFastClassBodyEvaluator(Scanner scanner, Class<?> baseType, ClassLoader parentClassLoader) Deprecated.static ObjectClassBodyEvaluator.createFastClassBodyEvaluator(Scanner scanner, String className, Class<?> extendedClass, Class<?>[] implementedInterfaces, ClassLoader parentClassLoader) Deprecated.UseClassBodyEvaluator.createInstance(Reader)instead<T> TExpressionEvaluator.createFastEvaluator(Reader reader, Class<? extends T> interfaceToImplement, String... parameterNames) <T> TExpressionEvaluator.createFastEvaluator(String script, Class<? extends T> interfaceToImplement, String... parameterNames) <T> TExpressionEvaluator.createFastEvaluator(Scanner scanner, Class<T> interfaceToImplement, String... parameterNames) Notice: This method is not declared inIScriptEvaluator, and is hence only available in this implementation oforg.codehaus.commons.compiler.<T> TScriptEvaluator.createFastEvaluator(Reader reader, Class<T> interfaceToImplement, String[] parameterNames) <T> TScriptEvaluator.createFastEvaluator(String script, Class<T> interfaceToImplement, String[] parameterNames) <T> TScriptEvaluator.createFastEvaluator(Scanner scanner, Class<?> interfaceToImplement, String[] parameterNames) Notice: This method is not declared inIScriptEvaluator, and is hence only available in this implementation oforg.codehaus.commons.compiler.static ObjectExpressionEvaluator.createFastExpressionEvaluator(String expression, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader) Deprecated.static ObjectExpressionEvaluator.createFastExpressionEvaluator(Scanner scanner, String[] defaultImports, String className, Class<?> extendedType, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader) Deprecated.static ObjectExpressionEvaluator.createFastExpressionEvaluator(Scanner scanner, String className, Class<?> extendedType, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader) Deprecated.static ObjectScriptEvaluator.createFastScriptEvaluator(String script, Class<?> interfaceToImplement, String[] parameterNames) Deprecated.static ObjectScriptEvaluator.createFastScriptEvaluator(Scanner scanner, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader) Deprecated.static ObjectScriptEvaluator.createFastScriptEvaluator(Scanner scanner, String[] defaultImports, String className, Class<?> extendedClass, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader) Deprecated.static ObjectScriptEvaluator.createFastScriptEvaluator(Scanner scanner, String className, Class<?> extendedType, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader) Deprecated.ClassBodyEvaluator.createInstance(Reader reader) voidJava.AbstractClassDeclaration.defineSyntheticField(IClass.IField iField) protected Java.AbstractCompilationUnitJavaSourceIClassLoader.findCompilationUnit(String className) Finds the Java source file for the named class through the configured 'source resource finder' and parses it.final IClass.IConstructorIClass.findIConstructor(IClass[] parameterTypes) final IClass.IMethodIClass.findIMethod(String methodName, IClass[] parameterTypes) UnitCompiler.findIMethod(Java.MethodInvocation mi) Finds methods of the mi.targetnamed mi.methodName, examines the argument types and chooses the most specific method.UnitCompiler.findIMethod(Java.SuperclassMethodInvocation superclassMethodInvocation) UnitCompiler.findMostSpecificIInvocable(Java.Locatable locatable, IClass.IInvocable[] iInvocables, IClass[] argumentTypes, boolean boxingPermitted, Java.Scope contextScope) Determines the applicable invocables and choose the most specific invocable.IClass.IAnnotation.getAnnotationType()ITypeVariable.getBounds()abstract ObjectIClass.IField.getConstantValue()Returns the value of the field if it is a compile-time constant value, i.e.final ObjectUnitCompiler.getConstantValue(Java.ArrayInitializerOrRvalue rv) Attempts to evaluate as a constant expression.final ObjectUnitCompiler.getConstantValue(Java.Rvalue rv) Attempts to evaluate as a constant expression.final IClass[]IClass.getDeclaredIClasses()Returns the classes and interfaces declared as members of the class (but not inherited classes and interfaces).protected IClass[]ClassFileIClass.getDeclaredIClasses2()protected abstract IClass[]IClass.getDeclaredIClasses2()final IClassIClass.getDeclaringIClass()protected IClassClassFileIClass.getDeclaringIClass2()protected abstract IClassIClass.getDeclaringIClass2()IClass.IField.getDescriptor()final MethodDescriptorIClass.IInvocable.getDescriptor()Returns the method descriptor of this constructor or method.IClass.IConstructor.getDescriptor2()abstract MethodDescriptorIClass.IInvocable.getDescriptor2()Uncached implementation ofIClass.IInvocable.getDescriptor().IClass.IMethod.getDescriptor2()IClass.IAnnotation.getElementValue(String name) final IClass.IAnnotation[]IClass.getIAnnotations()protected IClass.IAnnotation[]ClassFileIClass.getIAnnotations2()protected IClass.IAnnotation[]IClass.getIAnnotations2()final IClass.IMethod[]IClass.getIMethods()Returns all methods declared in the class or interface, its superclasses and its superinterfaces.voidUnitCompiler.getIMethods(IClass type, String methodName, List<IClass.IMethod> v) Adds all methods with the given methodName that are declared by the type, its superclasses and all their superinterfaces to the result list v.final IClass[]IClass.getInterfaces()Returns the interfaces implemented by the class, respectively the superinterfaces of the interface, respectively{Cloneable,Serializable}for arrays.protected IClass[]ClassFileIClass.getInterfaces2()protected abstract IClass[]IClass.getInterfaces2()final ITypeVariable[]IClass.getITypeVariables()protected ITypeVariable[]ClassFileIClass.getITypeVariables2()protected abstract ITypeVariable[]IClass.getITypeVariables2()The uncached version ofIClass.getDeclaredIConstructors()which must be implemented by derived classes.UnitCompiler.getLocalVariable(Java.CatchParameter parameter) UnitCompiler.getLocalVariable(Java.FunctionDeclarator.FormalParameter parameter) UnitCompiler.getLocalVariable(Java.FunctionDeclarator.FormalParameter parameter, boolean isVariableArityParameter) UnitCompiler.getLocalVariable(Java.LocalVariableDeclarationStatement lvds, Java.VariableDeclarator vd) final IClassIClass.getOuterIClass()The following types have an "outer class": Anonymous classes declared in a non-static method of a class Local classes declared in a non-static method of a class Non-static member classesprotected IClassClassFileIClass.getOuterIClass2()protected abstract IClassIClass.getOuterIClass2()final IClass[]IClass.IInvocable.getParameterTypes()Returns the types of the parameters of this constructor or method.abstract IClass[]IClass.IInvocable.getParameterTypes2()Opposed to theConstructor, there is no magic "this$0" parameter.abstract IClassIClass.IMethod.getReturnType()String[]UnitCompiler.getSingleTypeImport(String name, Location location) Checks if the given simple name was imported through a single type import.final IClassIClass.getSuperclass()Returns the superclass of the class.protected IClassClassFileIClass.getSuperclass2()protected abstract IClassIClass.getSuperclass2()final IClass[]IClass.IInvocable.getThrownExceptions()Returns the types thrown by this constructor or method.abstract IClass[]IClass.IInvocable.getThrownExceptions2()abstract IClassIClass.IField.getType()static String[]ExpressionEvaluator.guessParameterNames(Scanner scanner) Guess the names of the parameters used in the given expression.static String[]ScriptEvaluator.guessParameterNames(Scanner scanner) Guesses the names of the parameters used in the given expression.voidFilterWarningHandler.handleWarning(String handle, String message, Location location) final booleanIClass.hasIMethod(String methodName, IClass[] parameterTypes) booleanIClass.implementsInterface(IClass that) Ifthisrepresents a class: Returntrueif this class directly or indirectly implementsthatinterface.UnitCompiler.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.booleanIClass.isAssignableFrom(IClass that) Determines ifthisis assignable from that.booleanIClass.IInvocable.isLessSpecificThan(IClass.IInvocable that) booleanIClass.IMethod.isLessSpecificThan(IClass.IInvocable that) booleanIClass.IInvocable.isMoreSpecificThan(IClass.IInvocable that) booleanIClass.IMethod.isMoreSpecificThan(IClass.IInvocable that) booleanIClass.isSubclassOf(IClass that) Returnstrueif this class is an immediate or non-immediate subclass ofthatclass.protected voidScriptEvaluator.makeStatements(int idx, Parser parser, List<Java.BlockStatement> resultStatements, List<Java.MethodDeclarator> resultMethods) Parses statements from the parser until end-of-input.Parser.parseAbstractCompilationUnit()CompilationUnit := [ PackageDeclaration ] { ImportDeclaration } { TypeDeclaration }Parser.parseAdditiveExpression()AdditiveExpression := MultiplicativeExpression { ( '+' | '-' ) MultiplicativeExpression }Parser.parseAndExpression()AndExpression := EqualityExpression { '&' EqualityExpression }Parser.parseAnnotationTypeDeclarationRest(String docComment, Java.Modifier[] modifiers, Parser.InterfaceDeclarationContext context) AnnotationTypeDeclarationRest := Identifier AnnotationTypeBodyParser.parseArgumentList()ArgumentList := Expression { ',' Expression }Parser.parseArguments()Arguments := '(' [ ArgumentList ] ')'Parser.parseArrayInitializer()ArrayInitializer := '{' [ VariableInitializer { ',' VariableInitializer } [ ',' ] '}'Parser.parseAssertStatement()AssertStatement := 'assert' Expression [ ':' Expression ] ';'Parser.parseAssignmentExpression()AssignmentExpression := ConditionalExpression [ AssignmentOperator AssignmentExpression ] AssignmentOperator := '=' | '*=' | '/=' | '%=' | '+=' | '-=' | '<<=' | '>>=' | '>>>=' | '&=' | '^=' | '|='Parser.parseBlock()Block := '{' BlockStatements '}'Parser.parseBlockStatement()BlockStatement := Statement | (1) 'class' ...Parser.parseBlockStatements()BlockStatements := { BlockStatement }Parser.parseBreakStatement()BreakStatement := 'break' [ Identifier ] ';'Parser.parseCatchParameter()CatchFormalParameter := { VariableModifier } CatchType VariableDeclaratorId CatchType := UnannClassType { '|' ClassType } VariableModifier := Annotation | 'final' VariableDeclaratorId := Identifier [ Dims ] Dims := { Annotation } '[' ']' { { Annotation } '[' ']' } UnannClassType := Identifier [ TypeArguments ] | UnannClassOrInterfaceType '.' { Annotation } Identifier [ TypeArguments ] UnannInterfaceType := UnannClassType UnannClassOrInterfaceType := UnannClassType | UnannInterfaceType ClassType := { Annotation } Identifier [ TypeArguments ] | ClassOrInterfaceType '.' { Annotation } Identifier [ TypeArguments ]voidParser.parseClassBody(Java.AbstractClassDeclaration classDeclaration) ClassBody := '{' { ClassBodyDeclaration } '}'voidParser.parseClassBodyDeclaration(Java.AbstractClassDeclaration classDeclaration) ClassBodyDeclaration := ';' | ModifiersOpt ( Block | // Instance (JLS7 8.6) or static initializer (JLS7 8.7) 'void' Identifier MethodDeclarationRest | 'class' ClassDeclarationRest | 'interface' InterfaceDeclarationRest | ConstructorDeclarator | [ TypeArguments ] Type Identifier MethodDeclarationRest | Type Identifier FieldDeclarationRest ';' )Parser.parseClassDeclarationRest(String docComment, Java.Modifier[] modifiers, Parser.ClassDeclarationContext context) ClassDeclarationRest := Identifier [ typeParameters ] [ 'extends' ReferenceType ] [ 'implements' ReferenceTypeList ] ClassBodyParser.parseConditionalAndExpression()ConditionalAndExpression := InclusiveOrExpression { '&&' InclusiveOrExpression }Parser.parseConditionalExpression()ConditionalExpression := ConditionalOrExpression [ '?' Expression ':' ConditionalExpression ]Parser.parseConditionalOrExpression()ConditionalOrExpression := ConditionalAndExpression { '||' ConditionalAndExpression ]Parser.parseConstructorDeclarator(String docComment, Java.Modifier[] modifiers) ConstructorDeclarator := Identifier FormalParameters [ 'throws' ReferenceTypeList ] '{' [ 'this' Arguments ';' | 'super' Arguments ';' | Primary '.' 'super' Arguments ';' ] BlockStatements '}'Parser.parseContinueStatement()ContinueStatement := 'continue' [ Identifier ] ';'Parser.parseDimExpr()DimExpr := '[' Expression ']'Parser.parseDimExprs()DimExprs := DimExpr { DimExpr }Parser.parseDoStatement()DoStatement := 'do' Statement 'while' '(' Expression ')' ';'Parser.parseEmptyStatement()EmptyStatement := ';'voidParser.parseEnumBody(Java.EnumDeclaration enumDeclaration) EnumBody := '{' [ EnumConstant { ',' EnumConstant } [ ',' ] [ ';' ] { ClassBodyDeclaration } '}'Parser.parseEnumConstant()EnumConstant := [ Annotations ] Identifier [ Arguments ] [ ClassBody ]Parser.parseEnumDeclarationRest(String docComment, Java.Modifier[] modifiers, Parser.ClassDeclarationContext context) EnumDeclarationRest := Identifier [ 'implements' ReferenceTypeList ] EnumBodyParser.parseEqualityExpression()EqualityExpression := RelationalExpression { ( '==' | '!=' ) RelationalExpression }Parser.parseExclusiveOrExpression()ExclusiveOrExpression := AndExpression { '^' AndExpression }Parser.parseExpression()Expression := AssignmentExpression | LambdaExpressionParser.parseExpressionList()ExpressionList := Expression { ',' Expression }Parser.parseExpressionOrType()Parser.parseExpressionStatement()ExpressionStatement := Expression ';'Parser.parseFieldDeclarationRest(String name) FieldDeclarationRest := VariableDeclaratorRest { ',' VariableDeclarator }Parser.parseFormalParameter(boolean[] hasEllipsis) FormalParameter := [ 'final' ] Type FormalParameterRestParser.parseFormalParameterList()FormalParameterList := FormalParameter { ',' FormalParameter }Parser.parseFormalParameterListRest(Java.Type firstParameterType) FormalParameterListRest := Identifier { ',' FormalParameter }Parser.parseFormalParameterRest(Java.Modifier[] modifiers, Java.Type type, boolean[] hasEllipsis) FormalParameterRest := [ '.' '.' '.' ] Identifier BracketsOptParser.parseFormalParameters()FormalParameters := '(' [ FormalParameterList ] ')'Parser.parseForStatement()ForStatement := 'for' '(' [ ForInit ] ';' [ Expression ] ';' [ ExpressionList ] ')' Statement | 'for' '(' FormalParameter ':' Expression ')' Statement ForInit := Modifiers Type VariableDeclarators | ModifiersOpt PrimitiveType VariableDeclarators | Expression VariableDeclarators (1) | Expression { ',' Expression }Parser.parseIfStatement()IfStatement := 'if' '(' Expression ')' Statement [ 'else' Statement ]Parser.parseImportDeclaration()ImportDeclaration := 'import' ImportDeclarationBody ';'Parser.parseImportDeclarationBody()ImportDeclarationBody := [ 'static' ] Identifier { '.' Identifier } [ '.' '*' ]Parser.parseInclusiveOrExpression()InclusiveOrExpression := ExclusiveOrExpression { '|' ExclusiveOrExpression }voidParser.parseInterfaceBody(Java.InterfaceDeclaration interfaceDeclaration) InterfaceBody := '{' { ';' | ModifiersOpt ( 'void' Identifier MethodDeclarationRest | 'class' ClassDeclarationRest | 'interface' InterfaceDeclarationRest | Type Identifier ( MethodDeclarationRest | FieldDeclarationRest ) ) } '}'Parser.parseInterfaceDeclarationRest(String docComment, Java.Modifier[] modifiers, Parser.InterfaceDeclarationContext context) InterfaceDeclarationRest := Identifier [ typeParameters ] [ 'extends' ReferenceTypeList ] InterfaceBodyParser.parseLabeledStatement()LabeledStatement := Identifier ':' StatementParser.parseLiteral()Literal := IntegerLiteral | FloatingPointLiteral | BooleanLiteral | CharacterLiteral | StringLiteral | NullLiteralParser.parseMethodBody()MethodBody := BlockParser.parseMethodDeclaration()Equivalent withparseMethodDeclaration(false, MethodDeclarationContext.CLASS_DECLARATION).Parser.parseMethodDeclaration(boolean allowDefaultClause, Parser.MethodDeclarationContext context) MethodDeclaration := [ DocComment ] Modifiers [ TypeParameters ] VoidOrType Identifier MethodDeclarationRestParser.parseMethodDeclarationRest(String docComment, Java.Modifier[] modifiers, Java.TypeParameter[] typeParameters, Java.Type type, String name, boolean allowDefaultClause, Parser.MethodDeclarationContext context) MethodDeclarationRest := FormalParameters { '[' ']' } [ 'throws' ReferenceTypeList ] [ 'default' expression ] ( ';' | MethodBody )Parser.parseModifiers()Modifiers := { Modifier }Parser.parseModuleDeclarationRest(Java.Modifier[] modifiers) ModuleDeclarationRest := [ 'open' ] 'module' identifier { '.' identifier} '{' { ModuleDirective } '}'Parser.parseMultiplicativeExpression()MultiplicativeExpression := UnaryExpression { ( '*' | '/' | '%' ) UnaryExpression }Parser.parseOptionalModifier()Modifier := Annotation | 'public' | 'protected' | 'private' | 'static' | 'abstract' | 'final' | 'native' | 'synchronized' | 'transient' | 'volatile' | 'strictfp' | 'default'Parser.parsePackageDeclaration()PackageDeclaration := 'package' QualifiedIdentifier ';'Parser.parsePackageDeclarationRest(String docComment, Java.Modifier[] modifiers) PackageDeclaration := { PackageModifier } 'package' identifier { '.' identifier} ';'Parser.parsePackageMemberTypeDeclaration()PackageMemberTypeDeclaration := ModifiersOpt PackageMemberTypeDeclarationRestParser.parsePrimary()Primary := CastExpression | // CastExpression 15.16 '(' Expression ')' | // ParenthesizedExpression 15.8.5 Literal | // Literal 15.8.1 Name | // AmbiguousName Name Arguments | // MethodInvocation Name '[]' { '[]' } | // ArrayType 10.1 Name '[]' { '[]' } '.' 'class' | // ClassLiteral 15.8.2 'this' | // This 15.8.3 'this' Arguments | // Alternate constructor invocation 8.8.5.1 'super' Arguments | // Unqualified superclass constructor invocation 8.8.5.1 'super' '.' Identifier | // SuperclassFieldAccess 15.11.2 'super' '.' Identifier Arguments | // SuperclassMethodInvocation 15.12.4.9 NewClassInstance | NewAnonymousClassInstance | // ClassInstanceCreationExpression 15.9 NewArray | // ArrayCreationExpression 15.10 NewInitializedArray | // ArrayInitializer 10.6 PrimitiveType { '[]' } | // Type PrimitiveType { '[]' } '.' 'class' | // ClassLiteral 15.8.2 'void' '.' 'class' | // ClassLiteral 15.8.2 MethodReference // MethodReference JLS9 15.13 Name := Identifier { '.' Identifier } CastExpression := '(' PrimitiveType { '[]' } ')' UnaryExpression | '(' Expression ')' UnaryExpression NewClassInstance := 'new' ReferenceType Arguments NewAnonymousClassInstance := 'new' ReferenceType Arguments [ ClassBody ] NewArray := 'new' Type DimExprs { '[]' } NewInitializedArray := 'new' ArrayType ArrayInitializerString[]Parser.parseQualifiedIdentifier()QualifiedIdentifier := Identifier { '.' Identifier }Parser.parseReferenceType()ReferenceType := { Annotation } QualifiedIdentifier [ TypeArguments ]Parser.parseReferenceTypeList()ReferenceTypeList := ReferenceType { ',' ReferenceType }Parser.parseRelationalExpression()RelationalExpression := ShiftExpression { 'instanceof' ReferenceType | '<' ShiftExpression [ { ',' TypeArgument } '>' ] | '<' TypeArgument [ { ',' TypeArgument } '>' ] | ( '>' | '<=' | '>=' ) ShiftExpression }Parser.parseReturnStatement()ReturnStatement := 'return' [ Expression ] ';'Parser.parseSelector(Java.Atom atom) Selector := '.' Identifier | // FieldAccess 15.11.1 '.' Identifier Arguments | // MethodInvocation '.' '<' TypeList '>' 'super' Arguments // Superconstructor invocation (?) '.' '<' TypeList '>' 'super' '.' .Parser.parseShiftExpression()ShiftExpression := AdditiveExpression { ( '<<' | '>>' | '>>>' ) AdditiveExpression }Parser.parseStatement()Statement := LabeledStatement | Block | IfStatement | ForStatement | WhileStatement | DoStatement | TryStatement | 'switch' ...Parser.parseSwitchStatement()SwitchStatement := 'switch' '(' Expression ')' '{' { SwitchLabels BlockStatements } '}' SwitchLabels := SwitchLabels { SwitchLabels } SwitchLabel := 'case' Expression ':' | 'default' ':'Parser.parseSynchronizedStatement()SynchronizedStatement := 'synchronized' '(' expression ')' BlockParser.parseThrowStatement()ThrowStatement := 'throw' Expression ';'Parser.parseTryStatement()TryStatement := 'try' Block Catches [ Finally ] | 'try' Block Finally Catches := CatchClause { CatchClause } CatchClause := 'catch' '(' FormalParameter ')' Block Finally := 'finally' BlockParser.parseType()Type := ( 'byte' | 'short' | 'char' | 'int' | 'long' | 'float' | 'double' | 'boolean' | ReferenceType ) { '[' ']' }Parser.parseUnaryExpression()UnaryExpression := { PrefixOperator } Primary { Selector } { PostfixOperator } PrefixOperator := '++' | '--' | '+' | '-' | '~' | '!' PostfixOperator := '++' | '--'Parser.parseVariableDeclarator()VariableDeclarator := Identifier VariableDeclaratorRestParser.parseVariableDeclaratorRest(String name) VariableDeclaratorRest := { '[' ']' } [ '=' VariableInitializer ]Parser.parseVariableDeclarators()VariableDeclarators := VariableDeclarator { ',' VariableDeclarator }Parser.parseVariableInitializer()VariableInitializer := ArrayInitializer | ExpressionParser.parseVoidOrType()VoidOrType := 'void' | TypeParser.parseWhileStatement()WhileStatement := 'while' '(' Expression ')' StatementParser.peek()booleanintbooleanintTokenStream.peek()booleanintChecks whether the value of the next token equals any of the suspected; does not consume the next token.booleanintChecks whether the type of the next token is any of the suspected; does not consume the next token.TokenStreamImpl.peek()booleanintbooleanintParser.peekNextButOne()booleanParser.peekNextButOne(String suspected) booleanParser.peekNextButOne(TokenType suspected) TokenStream.peekNextButOne()booleanTokenStream.peekNextButOne(String suspected) TokenStreamImpl.peekNextButOne()booleanTokenStreamImpl.peekNextButOne(String suspected) booleanintbooleanChecks whether the value of the next token equals the suspected; if so, consumes the token.intChecks whether the value of the next token is one of the suspected; if so, consumes the token.Checks whether the type of the next token is the suspected; if so, consumes the token.intChecks whether the type of the next token is one of the suspected; if so, consumes the token.booleanintintScanner.produce()Produces and returns the next token.Parser.read()voidintTokenStream.read()voidVerifies that the value of the next token equals expected, and consumes the token.intVerifies that the value of the next token equals one of the expected, and consumes the token.Verifies that the type of the next token is the expected, and consumes the token.intVerifies that the type of the next token is one of the expected, and consumes the token.TokenStreamImpl.read()voidintintvoidJava.AbstractAnnotation.throwCompileException(String message) voidJava.AbstractTypeDeclaration.throwCompileException(String message) voidJava.Locatable.throwCompileException(String message) Throws aCompileExceptionwith the given message and this object's location.voidJava.Located.throwCompileException(String message) final Java.LvalueJava.Atom.toLvalueOrCompileException()final Java.RvalueJava.Atom.toRvalueOrCompileException()final Java.TypeJava.Atom.toTypeOrCompileException()Constructors in org.codehaus.janino that throw CompileExceptionModifierConstructorDescriptionClassBodyEvaluator(String classBody) Equivalent toClassBodyEvaluator(String fileName, InputStream is) Equivalent toClassBodyEvaluator(String fileName, Reader reader) Equivalent toClassBodyEvaluator(Scanner scanner, Class<?> extendedType, Class<?>[] implementedTypes, ClassLoader parentClassLoader) Equivalent toClassBodyEvaluator(Scanner scanner, ClassLoader parentClassLoader) Equivalent toClassBodyEvaluator(Scanner scanner, String className, Class<?> extendedType, Class<?>[] implementedTypes, ClassLoader parentClassLoader) Equivalent toExpressionEvaluator(String expression, Class<?> expressionType, String[] parameterNames, Class<?>[] parameterTypes) Equivalent toExpressionEvaluator(String expression, Class<?> expressionType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, Class<?> extendedClass, Class<?>[] implementedTypes, ClassLoader parentClassLoader) Equivalent toExpressionEvaluator(String expression, Class<?> expressionType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toExpressionEvaluator(Scanner scanner, String className, Class<?> extendedType, Class<?>[] implementedTypes, boolean staticMethod, Class<?> expressionType, String methodName, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Creates an expression evaluator with the full configurability.ExpressionStatement(Java.Rvalue rvalue) ScriptEvaluator(String script) Equivalent toScriptEvaluator(String fileName, InputStream is, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toScriptEvaluator(String fileName, Reader reader, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toScriptEvaluator(String script, Class<?> returnType) Equivalent toScriptEvaluator(String script, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes) Equivalent toScriptEvaluator(String script, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions) Equivalent toScriptEvaluator(Scanner scanner, Class<?> extendedType, Class<?>[] implementedTypes, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toScriptEvaluator(Scanner scanner, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toScriptEvaluator(Scanner scanner, String className, Class<?> extendedType, Class<?>[] implementedTypes, boolean staticMethod, Class<?> returnType, String methodName, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader) Equivalent toSimpleCompiler(String fileName) Equivalent toSimpleCompiler(String fileName, InputStream is) Equivalent toSimpleCompiler(String fileName, Reader in) Equivalent toSimpleCompiler(Scanner scanner, ClassLoader parentClassLoader) Equivalent to -
Uses of CompileException in org.codehaus.janino.samples
Methods in org.codehaus.janino.samples that throw CompileException -
Uses of CompileException in org.codehaus.janino.util
Methods in org.codehaus.janino.util that throw CompileExceptionModifier and TypeMethodDescriptionDeepCopier.copyAbstractCompilationUnit(Java.AbstractCompilationUnit subject) DeepCopier.copyAlternateConstructorInvocation(Java.AlternateConstructorInvocation subject) DeepCopier.copyAmbiguousName(Java.AmbiguousName subject) DeepCopier.copyAnnotation(Java.Annotation subject) DeepCopier.copyAnnotations(Java.Annotation[] subject) DeepCopier.copyAnonymousClassDeclaration(Java.AnonymousClassDeclaration subject) DeepCopier.copyArrayAccessExpression(Java.ArrayAccessExpression subject) DeepCopier.copyArrayCreationReference(Java.ArrayCreationReference subject) DeepCopier.copyArrayInitializer(Java.ArrayInitializer subject) DeepCopier.copyArrayInitializerOrRvalue(Java.ArrayInitializerOrRvalue subject) DeepCopier.copyArrayInitializerOrRvalues(Java.ArrayInitializerOrRvalue[] subject) DeepCopier.copyArrayLength(Java.ArrayLength subject) DeepCopier.copyArrayType(Java.ArrayType subject) DeepCopier.copyAssertStatement(Java.AssertStatement subject) DeepCopier.copyAssignment(Java.Assignment subject) DeepCopier.copyBinaryOperation(Java.BinaryOperation subject) DeepCopier.copyBlock(Java.Block b) DeepCopier.copyBlockStatement(Java.BlockStatement subject) DeepCopier.copyBlockStatements(Collection<? extends Java.BlockStatement> subject) DeepCopier.copyBooleanLiteral(Java.BooleanLiteral subject) DeepCopier.copyBreakStatement(Java.BreakStatement subject) DeepCopier.copyCatchClause(Java.CatchClause subject) DeepCopier.copyCatchClauses(Collection<? extends Java.CatchClause> subject) DeepCopier.copyCatchParameter(Java.CatchParameter subject) DeepCopier.copyCharacterLiteral(Java.CharacterLiteral subject) DeepCopier.copyClassInstanceCreationReference(Java.ClassInstanceCreationReference subject) DeepCopier.copyClassLiteral(Java.ClassLiteral subject) DeepCopier.copyCompilationUnit(Java.CompilationUnit subject) DeepCopier.copyConditionalExpression(Java.ConditionalExpression subject) DeepCopier.copyConstructorDeclarator(Java.ConstructorDeclarator subject) DeepCopier.copyConstructorInvocation(Java.ConstructorInvocation subject) DeepCopier.copyContinueStatement(Java.ContinueStatement subject) DeepCopier.copyCrement(Java.Crement subject) DeepCopier.copyDoStatement(Java.DoStatement subject) DeepCopier.copyElementValue(Java.ElementValue subject) DeepCopier.copyElementValueArrayInitializer(Java.ElementValueArrayInitializer subject) DeepCopier.copyElementValuePair(Java.ElementValuePair subject) DeepCopier.copyElementValuePairs(Java.ElementValuePair[] subject) DeepCopier.copyElementValues(Java.ElementValue[] subject) DeepCopier.copyEmptyStatement(Java.EmptyStatement subject) DeepCopier.copyEnumConstant(Java.EnumConstant subject) DeepCopier.copyExpressionStatement(Java.ExpressionStatement es) DeepCopier.copyFieldAccess(Java.FieldAccess subject) DeepCopier.copyFieldAccessExpression(Java.FieldAccessExpression subject) DeepCopier.copyFieldDeclaration(Java.FieldDeclaration subject) DeepCopier.copyFieldDeclarationOrInitializer(Java.FieldDeclarationOrInitializer subject) DeepCopier.copyFloatingPointLiteral(Java.FloatingPointLiteral subject) DeepCopier.copyForEachStatement(Java.ForEachStatement fes) DeepCopier.copyFormalParameter(Java.FunctionDeclarator.FormalParameter subject) DeepCopier.copyFormalParameters(Java.FunctionDeclarator.FormalParameter[] subject) DeepCopier.copyFormalParameters(Java.FunctionDeclarator.FormalParameters subject) DeepCopier.copyForStatement(Java.ForStatement fs) DeepCopier.copyFunctionDeclarator(Java.FunctionDeclarator subject) DeepCopier.copyIfStatement(Java.IfStatement is) DeepCopier.copyImportDeclaration(Java.AbstractCompilationUnit.ImportDeclaration subject) DeepCopier.copyImportDeclarations(Java.AbstractCompilationUnit.ImportDeclaration[] subject) DeepCopier.copyInitializer(Java.Initializer subject) DeepCopier.copyInstanceof(Java.Instanceof subject) DeepCopier.copyIntegerLiteral(Java.IntegerLiteral subject) DeepCopier.copyLabeledStatement(Java.LabeledStatement ls) DeepCopier.copyLocalClassDeclaration(Java.LocalClassDeclaration subject) DeepCopier.copyLocalClassDeclarationStatement(Java.LocalClassDeclarationStatement subject) DeepCopier.copyLocalVariableAccess(Java.LocalVariableAccess subject) DeepCopier.copyLocalVariableDeclarationStatement(Java.LocalVariableDeclarationStatement subject) DeepCopier.copyLocalVariableDeclaratorResource(Java.TryStatement.LocalVariableDeclaratorResource subject) DeepCopier.copyLvalue(Java.Lvalue subject) DeepCopier.copyMarkerAnnotation(Java.MarkerAnnotation subject) DeepCopier.copyMemberAnnotationTypeDeclaration(Java.MemberAnnotationTypeDeclaration subject) DeepCopier.copyMemberClassDeclaration(Java.MemberClassDeclaration subject) DeepCopier.copyMemberEnumDeclaration(Java.MemberEnumDeclaration subject) DeepCopier.copyMemberInterfaceDeclaration(Java.MemberInterfaceDeclaration subject) DeepCopier.copyMemberTypeDeclaration(Java.MemberTypeDeclaration subject) DeepCopier.copyMethodDeclarator(Java.MethodDeclarator subject) DeepCopier.copyMethodInvocation(Java.MethodInvocation subject) DeepCopier.copyMethodReference(Java.MethodReference subject) DeepCopier.copyModifier(Java.Modifier modifier) DeepCopier.copyModifiers(Java.Modifier[] subject) DeepCopier.copyModularCompilationUnit(Java.ModularCompilationUnit subject) DeepCopier.copyNewAnonymousClassInstance(Java.NewAnonymousClassInstance subject) DeepCopier.copyNewArray(Java.NewArray subject) DeepCopier.copyNewClassInstance(Java.NewClassInstance subject) DeepCopier.copyNewInitializedArray(Java.NewInitializedArray subject) DeepCopier.copyNormalAnnotation(Java.NormalAnnotation subject) DeepCopier.copyNullLiteral(Java.NullLiteral subject) DeepCopier.copyOptionalArrayInitializer(Java.ArrayInitializer subject) DeepCopier.copyOptionalArrayInitializerOrRvalue(Java.ArrayInitializerOrRvalue subject) DeepCopier.copyOptionalArrayType(Java.ArrayType subject) DeepCopier.copyOptionalAtom(Java.Atom subject) DeepCopier.copyOptionalBlock(Java.Block subject) DeepCopier.copyOptionalBlockStatement(Java.BlockStatement subject) DeepCopier.copyOptionalConstructorInvocation(Java.ConstructorInvocation subject) DeepCopier.copyOptionalElementValue(Java.ElementValue subject) DeepCopier.copyOptionalPackageDeclaration(Java.PackageDeclaration subject) DeepCopier.copyOptionalReferenceType(Java.ReferenceType subject) DeepCopier.copyOptionalReferenceTypes(Java.ReferenceType[] subject) DeepCopier.copyOptionalRvalue(Java.Rvalue subject) DeepCopier.copyOptionalRvalues(Java.Rvalue[] subject) DeepCopier.copyOptionalStatements(Collection<? extends Java.BlockStatement> subject) DeepCopier.copyOptionalType(Java.Type subject) DeepCopier.copyOptionalTypeArguments(Java.TypeArgument[] subject) DeepCopier.copyOptionalTypeParameters(Java.TypeParameter[] subject) DeepCopier.copyPackage(Java.Package subject) DeepCopier.copyPackageDeclaration(Java.PackageDeclaration subject) DeepCopier.copyPackageMemberAnnotationTypeDeclaration(Java.PackageMemberAnnotationTypeDeclaration subject) DeepCopier.copyPackageMemberClassDeclaration(Java.PackageMemberClassDeclaration subject) DeepCopier.copyPackageMemberEnumDeclaration(Java.PackageMemberEnumDeclaration subject) DeepCopier.copyPackageMemberInterfaceDeclaration(Java.PackageMemberInterfaceDeclaration subject) DeepCopier.copyPackageMemberTypeDeclaration(Java.PackageMemberTypeDeclaration subject) DeepCopier.copyParameterAccess(Java.ParameterAccess pa) DeepCopier.copyParenthesizedExpression(Java.ParenthesizedExpression subject) DeepCopier.copyPrimitiveType(Java.PrimitiveType bt) DeepCopier.copyQualifiedThisReference(Java.QualifiedThisReference subject) DeepCopier.copyReferenceType(Java.ReferenceType subject) DeepCopier.copyReferenceTypes(Java.ReferenceType[] subject) DeepCopier.copyResource(Java.TryStatement.Resource subject) DeepCopier.copyResources(Collection<? extends Java.TryStatement.Resource> subject) DeepCopier.copyReturnStatement(Java.ReturnStatement subject) DeepCopier.copyRvalue(Java.Rvalue subject) DeepCopier.copyRvalueMemberType(Java.RvalueMemberType subject) DeepCopier.copyRvalues(Collection<? extends Java.Rvalue> subject) DeepCopier.copyRvalues(Java.Rvalue[] subject) DeepCopier.copySimpleLiteral(Java.SimpleConstant subject) DeepCopier.copySimpleType(Java.SimpleType st) DeepCopier.copySingleElementAnnotation(Java.SingleElementAnnotation subject) DeepCopier.copySingleStaticImportDeclaration(Java.AbstractCompilationUnit.SingleStaticImportDeclaration stid) DeepCopier.copySingleTypeImportDeclaration(Java.AbstractCompilationUnit.SingleTypeImportDeclaration stid) DeepCopier.copyStatement(Java.Statement subject) DeepCopier.copyStatements(Collection<? extends Java.BlockStatement> subject) DeepCopier.copyStaticImportOnDemandDeclaration(Java.AbstractCompilationUnit.StaticImportOnDemandDeclaration siodd) DeepCopier.copyStringLiteral(Java.StringLiteral subject) DeepCopier.copySuperclassFieldAccessExpression(Java.SuperclassFieldAccessExpression subject) DeepCopier.copySuperclassMethodInvocation(Java.SuperclassMethodInvocation subject) DeepCopier.copySuperConstructorInvocation(Java.SuperConstructorInvocation subject) DeepCopier.copySwitchBlockStatementGroup(Java.SwitchStatement.SwitchBlockStatementGroup subject) DeepCopier.copySwitchBlockStatementGroups(Collection<? extends Java.SwitchStatement.SwitchBlockStatementGroup> subject) DeepCopier.copySwitchStatement(Java.SwitchStatement subject) DeepCopier.copySynchronizedStatement(Java.SynchronizedStatement subject) DeepCopier.copyTextBlock(Java.TextBlock subject) DeepCopier.copyThisReference(Java.ThisReference subject) DeepCopier.copyThrowStatement(Java.ThrowStatement subject) DeepCopier.copyTryStatement(Java.TryStatement ts) DeepCopier.copyTypeArgument(Java.TypeArgument subject) DeepCopier.copyTypeArguments(Java.TypeArgument[] subject) DeepCopier.copyTypeBodyDeclaration(Java.TypeBodyDeclaration subject) DeepCopier.copyTypeDeclaration(Java.TypeDeclaration subject) DeepCopier.copyTypeImportOnDemandDeclaration(Java.AbstractCompilationUnit.TypeImportOnDemandDeclaration tiodd) DeepCopier.copyTypeParameter(Java.TypeParameter subject) DeepCopier.copyTypeParameters(Java.TypeParameter[] subject) DeepCopier.copyUnaryOperation(Java.UnaryOperation subject) DeepCopier.copyVariableAccessResource(Java.TryStatement.VariableAccessResource subject) DeepCopier.copyVariableDeclarator(Java.VariableDeclarator subject) DeepCopier.copyVariableDeclarators(Java.VariableDeclarator[] subject) DeepCopier.copyWhileStatement(Java.WhileStatement ws) DeepCopier.copyWildcard(Java.Wildcard subject)
ClassBodyEvaluator.createInstance(Reader)instead