Uses of Interface
org.codehaus.janino.Java.BlockStatement
-
Packages that use Java.BlockStatement Package Description org.codehaus.janino The core of the Janino Java compiler.org.codehaus.janino.util Application-independent helper classes. -
-
Uses of Java.BlockStatement in org.codehaus.janino
Subinterfaces of Java.BlockStatement in org.codehaus.janino Modifier and Type Interface Description static interfaceJava.FieldDeclarationOrInitializerClasses in org.codehaus.janino that implement Java.BlockStatement Modifier and Type Class Description static classJava.AlternateConstructorInvocationRepresentation of a JLS7 8.8.7.1.static classJava.AssertStatementRepresentation of the JLS7 14.10 ASSERT statement.static classJava.BlockRepresentation of a Java "block" (JLS7 14.2).static classJava.BreakableStatementBase class for statements that can be terminated abnormally with abreakstatement.static classJava.BreakStatementRepresentation of the JLS7 14.15 BREAK statement.static classJava.ConstructorInvocationAbstract bas class forJava.SuperConstructorInvocationandJava.AlternateConstructorInvocation.static classJava.ContinuableStatementBase class for statements that support the "continue" statement.static classJava.ContinueStatementRepresentation of the JLS7 14.16 CONTINUE statement.static classJava.DoStatementRepresentation of a JLS7 14.13 DO statement.static classJava.EmptyStatementRepresentation of the "empty statement", i.e.static classJava.ExpressionStatementRepresentation of the JLS7 14.8 "expression statement".static classJava.FieldDeclarationThis class is derived from "Statement", because it provides for the initialization of the field.static classJava.ForEachStatementRepresentation of a JLS7 14.14.2 "enhanced FOR statement".static classJava.ForStatementRepresentation of a JLS7 14.14.1 "basic FOR statement".static classJava.IfStatementRepresentation of a JLS7 14.9 IF statement.static classJava.InitializerRepresentation of an "instance initializer" (JLS7 8.6) or "static initializer" (JLS7 8.7).static classJava.LabeledStatementRepresentation of a JLS7 14.7 "labeled statement".static classJava.LocalClassDeclarationStatementRepresentation of the JLS7 14.3 "local class declaration statement".static classJava.LocalVariableDeclarationStatementRepresentation of a JLS7 14.4 "local variable declaration statement".static classJava.ReturnStatementRepresentation of the JLS7 14.17 RETURN statement.static classJava.StatementEverything that can occur in the body of a method or in a block.static classJava.SuperConstructorInvocationRepresentation of a JLS7 8.8.7.1.static classJava.SwitchStatementThe JLS7 14.10switchStatement.static classJava.SynchronizedStatementRepresentation of a JLS7 14.9 SYNCHRONIZED statement.static classJava.ThrowStatementRepresentation of a JLS7 14.18 THROW statement.static classJava.TryStatementRepresentation of a JLS7 14.20 TRY statement.static classJava.WhileStatementRepresentation of the JLS7 14.2 WHILE statement.Fields in org.codehaus.janino declared as Java.BlockStatement Modifier and Type Field Description Java.BlockStatementJava.CatchClause. bodyBody of the CATCH clause.Java.BlockStatementJava.ContinuableStatement. bodyThe body of this continuable statement.Java.BlockStatementJava.SynchronizedStatement. bodyThe body of this SYNCHRONIZED statement.Java.BlockStatementJava.TryStatement. bodyThe body of the TRY statement.Java.BlockStatementJava.IfStatement. elseStatementThe optional ELSE statement, which is executed iff the condition evaluates to FALSE.Java.BlockStatementJava.ForStatement. initThe optional "init" part of the "basic FOR statement".Java.BlockStatementJava.IfStatement. thenStatementThe "then statement", which is executed iff the condition evaluates to TRUE.Fields in org.codehaus.janino with type parameters of type Java.BlockStatement Modifier and Type Field Description java.util.List<Java.BlockStatement>Java.SwitchStatement.SwitchBlockStatementGroup. blockStatementsThe statements following the CASE labels.java.util.List<Java.BlockStatement>Java.Block. statementsThe list of statements that comprise the body of the block.java.util.List<? extends Java.BlockStatement>Java.FunctionDeclarator. statementsThe statements that comprise the function;nullfor abstract method declarations.Methods in org.codehaus.janino that return Java.BlockStatement Modifier and Type Method Description Java.BlockStatement[]Java.Block. getStatements()Java.BlockStatementParser. parseBlockStatement()BlockStatement := Statement | (1) 'class' ...Methods in org.codehaus.janino that return types with arguments of type Java.BlockStatement Modifier and Type Method Description java.util.List<Java.BlockStatement>Parser. parseBlockStatements()BlockStatements := { BlockStatement }Methods in org.codehaus.janino with parameters of type Java.BlockStatement Modifier and Type Method Description voidJava.Block. addStatement(Java.BlockStatement statement)Adds one statement to the end of the block.private java.util.Map<java.lang.String,Java.LocalVariable>UnitCompiler. buildLocalVariableMap(Java.BlockStatement blockStatement, java.util.Map<java.lang.String,Java.LocalVariable> localVars)Computes and fills in the 'local variable map' for the given blockStatement.private booleanUnitCompiler. compile(Java.BlockStatement bs)private booleanUnitCompiler. compileTryCatchFinally(Java.TryStatement ts, UnitCompiler.Compilable2 compileBody, Java.BlockStatement finallY)Generates code for a TRY statement without resources, but with an (optional) FINALLY clause.private booleanUnitCompiler. compileUnconditionalLoop(Java.ContinuableStatement cs, Java.BlockStatement body, Java.Rvalue[] update)private booleanUnitCompiler. compileUnconditionalLoopWithUpdate(Java.ContinuableStatement cs, Java.BlockStatement body, Java.Rvalue[] update)(package private) voidScriptEvaluator. cook(java.lang.String fileName, Java.AbstractCompilationUnit.ImportDeclaration[] importDeclarations, Java.BlockStatement[][] statementss, Java.MethodDeclarator[][] localMethodss)private booleanUnitCompiler. fakeCompile(Java.BlockStatement bs)Called to check whether the givenJava.BlockStatementcompiles or not.private booleanUnitCompiler. generatesCode(Java.BlockStatement bs)Checks whether invocation ofUnitCompiler.compile(BlockStatement)would generate more than zero code bytes.private booleanUnitCompiler. generatesCode2(Java.BlockStatement bs)private voidUnitCompiler. leave(Java.BlockStatement bs)Cleans up the statement context.private voidUnitCompiler. leave2(Java.BlockStatement bs)private Java.MethodDeclaratorScriptEvaluator. makeMethodDeclaration(Location location, Java.Annotation[] annotations, boolean staticMethod, java.lang.Class<?> returnType, java.lang.String methodName, java.lang.Class<?>[] parameterTypes, java.lang.String[] parameterNames, java.lang.Class<?>[] thrownExceptions, Java.BlockStatement[] statements)voidUnparser. unparseBlockStatement(Java.BlockStatement bs)Method parameters in org.codehaus.janino with type arguments of type Java.BlockStatement Modifier and Type Method Description voidJava.Block. addStatements(java.util.List<? extends Java.BlockStatement> statements)Adds a list of statements to the end of the block.private booleanUnitCompiler. compileStatements(java.util.List<? extends Java.BlockStatement> statements)private booleanUnitCompiler. generatesCode2(java.util.List<Java.BlockStatement> l)protected voidScriptEvaluator. makeStatements(int idx, Parser parser, java.util.List<Java.BlockStatement> resultStatements, java.util.List<Java.MethodDeclarator> resultMethods)Parses statements from the parser until end-of-input.private voidUnitCompiler. maybeCreateInitMethod(Java.TypeDeclaration td, ClassFile cf, java.util.List<Java.BlockStatement> statements)Creates class/interface initialization method iff there is any initialization code.private static voidScriptEvaluator. parseScriptStatement(Parser parser, java.util.List<Java.BlockStatement> mainStatements, java.util.List<Java.MethodDeclarator> localMethods)ScriptStatement := Statement (1) | 'class' ...voidUnparser. unparseStatements(java.util.List<? extends Java.BlockStatement> statements)Generates Java code from a sequence ofJava.BlockStatements.Constructor parameters in org.codehaus.janino with type arguments of type Java.BlockStatement Constructor Description ConstructorDeclarator(Location location, java.lang.String docComment, Java.Modifier[] modifiers, Java.FunctionDeclarator.FormalParameters formalParameters, Java.Type[] thrownExceptions, Java.ConstructorInvocation constructorInvocation, java.util.List<? extends Java.BlockStatement> statements)FunctionDeclarator(Location location, java.lang.String docComment, Java.Modifier[] modifiers, Java.Type type, java.lang.String name, Java.FunctionDeclarator.FormalParameters formalParameters, Java.Type[] thrownExceptions, java.util.List<? extends Java.BlockStatement> statements)MethodDeclarator(Location location, java.lang.String docComment, Java.Modifier[] modifiers, Java.TypeParameter[] typeParameters, Java.Type type, java.lang.String name, Java.FunctionDeclarator.FormalParameters formalParameters, Java.Type[] thrownExceptions, Java.ElementValue defaultValue, java.util.List<? extends Java.BlockStatement> statements) -
Uses of Java.BlockStatement in org.codehaus.janino.util
Fields in org.codehaus.janino.util with type parameters of type Java.BlockStatement Modifier and Type Field Description private Visitor.BlockStatementVisitor<Java.BlockStatement,CompileException>DeepCopier. blockStatementCopierMethods in org.codehaus.janino.util that return types with arguments of type Java.BlockStatement Modifier and Type Method Description java.util.List<Java.BlockStatement>DeepCopier. copyBlockStatements(java.util.Collection<? extends Java.BlockStatement> subject)java.util.List<Java.BlockStatement>DeepCopier. copyOptionalStatements(java.util.Collection<? extends Java.BlockStatement> subject)java.util.List<Java.BlockStatement>DeepCopier. copyStatements(java.util.Collection<? extends Java.BlockStatement> subject)Methods in org.codehaus.janino.util with parameters of type Java.BlockStatement Modifier and Type Method Description Java.BlockStatementDeepCopier. copyBlockStatement(Java.BlockStatement subject)Java.BlockStatementDeepCopier. copyOptionalBlockStatement(Java.BlockStatement subject)voidAbstractTraverser. visitBlockStatement(Java.BlockStatement bs)voidTraverser. visitBlockStatement(Java.BlockStatement bs)Method parameters in org.codehaus.janino.util with type arguments of type Java.BlockStatement Modifier and Type Method Description java.util.List<Java.BlockStatement>DeepCopier. copyBlockStatements(java.util.Collection<? extends Java.BlockStatement> subject)java.util.List<Java.BlockStatement>DeepCopier. copyOptionalStatements(java.util.Collection<? extends Java.BlockStatement> subject)java.util.List<Java.BlockStatement>DeepCopier. copyStatements(java.util.Collection<? extends Java.BlockStatement> subject)
-