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.TypeArgumentVisitorfor the concreteJava.TypeArgumenttype.voidsetEnclosingScope(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.TypeArgumentVisitorfor the concreteJava.TypeArgumenttype.- Throws:
EX
-