Package org.codehaus.janino
Interface Java.TypeArgument
-
- All Known Implementing Classes:
Java.ArrayType,Java.ReferenceType,Java.Wildcard
- Enclosing class:
- Java
public static interface Java.TypeArgumentRepresentation of a JLS7 4.5.1 type argument.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <R,EX extends java.lang.Throwable>
Raccept(Visitor.TypeArgumentVisitor<R,EX> visitor)Invokes the "visit...()" method ofVisitor.TypeArgumentVisitorfor the concreteJava.TypeArgumenttype.voidsetEnclosingScope(Java.Scope enclosingScope)Sets the enclosing scope for this type argument.
-
-
-
Method Detail
-
setEnclosingScope
void setEnclosingScope(Java.Scope enclosingScope)
Sets the enclosing scope for this type argument.
-
accept
@Nullable <R,EX extends java.lang.Throwable> R accept(Visitor.TypeArgumentVisitor<R,EX> visitor) throws EX extends java.lang.Throwable
Invokes the "visit...()" method ofVisitor.TypeArgumentVisitorfor the concreteJava.TypeArgumenttype.- Throws:
EX extends java.lang.Throwable
-
-