Interface CtResource<T>

Type Parameters:
T - The type of the resource.
All Superinterfaces:
Cloneable, CtElement, CtQueryable, CtVisitable, FactoryAccessor, Serializable, SourcePositionHolder
All Known Subinterfaces:
CtAnnotationFieldAccess<T>, CtFieldRead<T>, CtLocalVariable<T>, CtSuperAccess<T>, CtVariableRead<T>
All Known Implementing Classes:
CtAnnotationFieldAccessImpl, CtFieldReadImpl, CtLocalVariableImpl, CtSuperAccessImpl, CtVariableReadImpl

public interface CtResource<T> extends CtElement
This code element defines a resource used in the try-with-resource statement.