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 interface
Java.FieldDeclarationOrInitializer
Classes in org.codehaus.janino that implement Java.BlockStatement Modifier and Type Class Description static class
Java.AlternateConstructorInvocation
Representation of a JLS7 8.8.7.1.static class
Java.AssertStatement
Representation of the JLS7 14.10 ASSERT statement.static class
Java.Block
Representation of a Java "block" (JLS7 14.2).static class
Java.BreakableStatement
Base class for statements that can be terminated abnormally with abreak
statement.static class
Java.BreakStatement
Representation of the JLS7 14.15 BREAK statement.static class
Java.ConstructorInvocation
Abstract bas class forJava.SuperConstructorInvocation
andJava.AlternateConstructorInvocation
.static class
Java.ContinuableStatement
Base class for statements that support the "continue" statement.static class
Java.ContinueStatement
Representation of the JLS7 14.16 CONTINUE statement.static class
Java.DoStatement
Representation of a JLS7 14.13 DO statement.static class
Java.EmptyStatement
Representation of the "empty statement", i.e.static class
Java.ExpressionStatement
Representation of the JLS7 14.8 "expression statement".static class
Java.FieldDeclaration
This class is derived from "Statement", because it provides for the initialization of the field.static class
Java.ForEachStatement
Representation of a JLS7 14.14.2 "enhanced FOR statement".static class
Java.ForStatement
Representation of a JLS7 14.14.1 "basic FOR statement".static class
Java.IfStatement
Representation of a JLS7 14.9 IF statement.static class
Java.Initializer
Representation of an "instance initializer" (JLS7 8.6) or "static initializer" (JLS7 8.7).static class
Java.LabeledStatement
Representation of a JLS7 14.7 "labeled statement".static class
Java.LocalClassDeclarationStatement
Representation of the JLS7 14.3 "local class declaration statement".static class
Java.LocalVariableDeclarationStatement
Representation of a JLS7 14.4 "local variable declaration statement".static class
Java.ReturnStatement
Representation of the JLS7 14.17 RETURN statement.static class
Java.Statement
Everything that can occur in the body of a method or in a block.static class
Java.SuperConstructorInvocation
Representation of a JLS7 8.8.7.1.static class
Java.SwitchStatement
The JLS7 14.10switch
Statement.static class
Java.SynchronizedStatement
Representation of a JLS7 14.9 SYNCHRONIZED statement.static class
Java.ThrowStatement
Representation of a JLS7 14.18 THROW statement.static class
Java.TryStatement
Representation of a JLS7 14.20 TRY statement.static class
Java.WhileStatement
Representation of the JLS7 14.2 WHILE statement.Fields in org.codehaus.janino declared as Java.BlockStatement Modifier and Type Field Description Java.BlockStatement
Java.CatchClause. body
Body of the CATCH clause.Java.BlockStatement
Java.ContinuableStatement. body
The body of this continuable statement.Java.BlockStatement
Java.SynchronizedStatement. body
The body of this SYNCHRONIZED statement.Java.BlockStatement
Java.TryStatement. body
The body of the TRY statement.Java.BlockStatement
Java.IfStatement. elseStatement
The optional ELSE statement, which is executed iff the condition evaluates to FALSE.Java.BlockStatement
Java.ForStatement. init
The optional "init" part of the "basic FOR statement".Java.BlockStatement
Java.IfStatement. thenStatement
The "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. blockStatements
The statements following the CASE labels.java.util.List<Java.BlockStatement>
Java.Block. statements
The list of statements that comprise the body of the block.java.util.List<? extends Java.BlockStatement>
Java.FunctionDeclarator. statements
The statements that comprise the function;null
for abstract method declarations.Methods in org.codehaus.janino that return Java.BlockStatement Modifier and Type Method Description Java.BlockStatement[]
Java.Block. getStatements()
Java.BlockStatement
Parser. 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 void
Java.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 boolean
UnitCompiler. compile(Java.BlockStatement bs)
private boolean
UnitCompiler. 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 boolean
UnitCompiler. compileUnconditionalLoop(Java.ContinuableStatement cs, Java.BlockStatement body, Java.Rvalue[] update)
private boolean
UnitCompiler. compileUnconditionalLoopWithUpdate(Java.ContinuableStatement cs, Java.BlockStatement body, Java.Rvalue[] update)
(package private) void
ScriptEvaluator. cook(java.lang.String fileName, Java.AbstractCompilationUnit.ImportDeclaration[] importDeclarations, Java.BlockStatement[][] statementss, Java.MethodDeclarator[][] localMethodss)
private boolean
UnitCompiler. fakeCompile(Java.BlockStatement bs)
Called to check whether the givenJava.BlockStatement
compiles or not.private boolean
UnitCompiler. generatesCode(Java.BlockStatement bs)
Checks whether invocation ofUnitCompiler.compile(BlockStatement)
would generate more than zero code bytes.private boolean
UnitCompiler. generatesCode2(Java.BlockStatement bs)
private void
UnitCompiler. leave(Java.BlockStatement bs)
Cleans up the statement context.private void
UnitCompiler. leave2(Java.BlockStatement bs)
private Java.MethodDeclarator
ScriptEvaluator. 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)
void
Unparser. unparseBlockStatement(Java.BlockStatement bs)
Method parameters in org.codehaus.janino with type arguments of type Java.BlockStatement Modifier and Type Method Description void
Java.Block. addStatements(java.util.List<? extends Java.BlockStatement> statements)
Adds a list of statements to the end of the block.private boolean
UnitCompiler. compileStatements(java.util.List<? extends Java.BlockStatement> statements)
private boolean
UnitCompiler. generatesCode2(java.util.List<Java.BlockStatement> l)
protected void
ScriptEvaluator. 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 void
UnitCompiler. 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 void
ScriptEvaluator. parseScriptStatement(Parser parser, java.util.List<Java.BlockStatement> mainStatements, java.util.List<Java.MethodDeclarator> localMethods)
ScriptStatement := Statement (1) | 'class' ...void
Unparser. unparseStatements(java.util.List<? extends Java.BlockStatement> statements)
Generates Java code from a sequence ofJava.BlockStatement
s.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. blockStatementCopier
Methods 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.BlockStatement
DeepCopier. copyBlockStatement(Java.BlockStatement subject)
Java.BlockStatement
DeepCopier. copyOptionalBlockStatement(Java.BlockStatement subject)
void
AbstractTraverser. visitBlockStatement(Java.BlockStatement bs)
void
Traverser. 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)
-