Package org.codehaus.janino
Interface Java.TypeArgument
- All Known Implementing Classes:
Java.ArrayType
,Java.ReferenceType
,Java.Wildcard
- Enclosing class:
Java
public static interface Java.TypeArgument
Representation of a JLS7 4.5.1 type argument.
-
Method Summary
Modifier and TypeMethodDescription<R,
EX extends Throwable>
Raccept
(Visitor.TypeArgumentVisitor<R, EX> visitor) Invokes the "visit...()
" method ofVisitor.TypeArgumentVisitor
for the concreteJava.TypeArgument
type.void
setEnclosingScope
(Java.Scope enclosingScope) Sets the enclosing scope for this type argument.
-
Method Details
-
setEnclosingScope
Sets the enclosing scope for this type argument. -
accept
Invokes the "visit...()
" method ofVisitor.TypeArgumentVisitor
for the concreteJava.TypeArgument
type.- Throws:
EX
-