Uses of Interface
spoon.reflect.code.CtResource
Packages that use 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
Subinterfaces of CtResource in spoon.reflect.codeModifier and TypeInterfaceDescriptioninterface
This code element defines a local variable definition (within an executable body).Methods in spoon.reflect.code that return types with arguments of type CtResourceModifier and TypeMethodDescriptionList<CtResource<?>>
CtTryWithResource.getResources()
Gets the auto-closeable resources of thistry
.Methods in spoon.reflect.code with parameters of type CtResourceModifier and TypeMethodDescription<T extends CtTryWithResource>
TCtTryWithResource.addResource(CtResource<?> resource)
Adds a resource.boolean
CtTryWithResource.removeResource(CtResource<?> resource)
Removes a resource.Method parameters in spoon.reflect.code with type arguments of type CtResourceModifier 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
Methods in spoon.reflect.visitor with parameters of type CtResourceModifier and TypeMethodDescriptionvoid
CtInheritanceScanner.scanCtResource(CtResource<?> resource)
Scans an abstract resource in try-with-resource statement. -
Uses of CtResource in spoon.support.reflect.code
Classes in spoon.support.reflect.code that implement CtResourceMethods in spoon.support.reflect.code that return types with arguments of type CtResourceMethods in spoon.support.reflect.code with parameters of type CtResourceModifier and TypeMethodDescription<T extends CtTryWithResource>
TCtTryWithResourceImpl.addResource(CtResource<?> resource)
boolean
CtTryWithResourceImpl.removeResource(CtResource<?> resource)
Method parameters in spoon.support.reflect.code with type arguments of type CtResourceModifier and TypeMethodDescription<T extends CtTryWithResource>
TCtTryWithResourceImpl.setResources(List<? extends CtResource<?>> resources)