Class Java.AlternateConstructorInvocation
java.lang.Object
org.codehaus.janino.Java.Located
org.codehaus.janino.Java.Atom
org.codehaus.janino.Java.ConstructorInvocation
org.codehaus.janino.Java.AlternateConstructorInvocation
- All Implemented Interfaces:
Java.BlockStatement, Java.Locatable, Java.Scope
- Enclosing class:
Java
Representation of a JLS7 8.8.7.1. "alternate constructor invocation".
-
Field Summary
Fields inherited from class Java.ConstructorInvocation
arguments, localVariablesFields inherited from class Java.Located
NOWHERE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R, EX extends Throwable>
Raccept(Visitor.BlockStatementVisitor<R, EX> visitor) Invokes the "visit...()" method ofVisitor.BlockStatementVisitorfor the concreteJava.BlockStatementtype.<R, EX extends Throwable>
Raccept(Visitor.ConstructorInvocationVisitor<R, EX> visitor) Invokes the "visit...()" method ofVisitor.ConstructorInvocationVisitorfor the concreteJava.ConstructorInvocation.toString()Methods inherited from class Java.ConstructorInvocation
accept, findLocalVariable, getEnclosingScope, setEnclosingScopeMethods inherited from class Java.Atom
toLvalue, toLvalueOrCompileException, toRvalue, toRvalueOrCompileException, toType, toTypeOrCompileExceptionMethods inherited from class Java.Located
getLocation, throwCompileExceptionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Java.Locatable
getLocation, throwCompileException
-
Constructor Details
-
AlternateConstructorInvocation
-
-
Method Details
-
toString
-
accept
@Nullable public <R, EX extends Throwable> R accept(Visitor.ConstructorInvocationVisitor<R, EX> visitor) throws EXDescription copied from class:Java.ConstructorInvocationInvokes the "visit...()" method ofVisitor.ConstructorInvocationVisitorfor the concreteJava.ConstructorInvocation.- Specified by:
acceptin classJava.ConstructorInvocation- Throws:
EX
-
accept
@Nullable public <R, EX extends Throwable> R accept(Visitor.BlockStatementVisitor<R, EX> visitor) throws EXDescription copied from interface:Java.BlockStatementInvokes the "visit...()" method ofVisitor.BlockStatementVisitorfor the concreteJava.BlockStatementtype.- Throws:
EX
-