Uses of Interface
spoon.reflect.code.CtResource
Package
Description
This package contains the meta-model part that models the executable code (methods and constructors' bodies, field initializers).
This package defines visitor, scanner, and scanner-based query API for Java programs reified in the meta-model.
-
Uses of CtResource in spoon.reflect.code
Modifier and TypeInterfaceDescriptioninterface
This code element defines a local variable definition (within an executable body).Modifier and TypeMethodDescriptionList<CtResource<?>>
CtTryWithResource.getResources()
Gets the auto-closeable resources of thistry
.Modifier and TypeMethodDescription<T extends CtTryWithResource>
TCtTryWithResource.addResource(CtResource<?> resource)
Adds a resource.boolean
CtTryWithResource.removeResource(CtResource<?> resource)
Removes a resource.Modifier and TypeMethodDescription<T extends CtTryWithResource>
TCtTryWithResource.setResources(List<? extends CtResource<?>> resources)
Sets the auto-closeable resources of thistry
. -
Uses of CtResource in spoon.reflect.visitor
Modifier and TypeMethodDescriptionvoid
CtInheritanceScanner.scanCtResource(CtResource<?> resource)
Scans an abstract resource in try-with-resource statement. -
Uses of CtResource in spoon.support.reflect.code
Modifier and TypeMethodDescription<T extends CtTryWithResource>
TCtTryWithResourceImpl.addResource(CtResource<?> resource)
boolean
CtTryWithResourceImpl.removeResource(CtResource<?> resource)
Modifier and TypeMethodDescription<T extends CtTryWithResource>
TCtTryWithResourceImpl.setResources(List<? extends CtResource<?>> resources)