Uses of Interface
spoon.reflect.reference.CtPackageReference
Package
Description
This package contains the meta-model part that models the declarations (program's structures such as classes, fields, etc).
This package defines all the sub-factories for the Spoon meta-model.
This package defines the references to program elements for the meta-model.
This package defines visitor, scanner, and scanner-based query API for Java programs reified in the meta-model.
This package contains some default implementations for commonly used processing tasks.
-
Uses of CtPackageReference in spoon.reflect.declaration
Modifier and TypeMethodDescriptionCtPackageExport.getPackageReference()
CtPackage.getReference()
CtPackageDeclaration.getReference()
Returns the reference to the package.Modifier and TypeMethodDescription<T extends CtPackageExport>
TCtPackageExport.setPackageReference(CtPackageReference packageReference)
CtPackageDeclaration.setReference(CtPackageReference reference)
Sets the reference to the package. -
Uses of CtPackageReference in spoon.reflect.factory
Modifier and TypeMethodDescriptionCodeFactory.createCtPackageReference(Package originalPackage)
Creates a package reference.Factory.createCtPackageReference(Package originalPackage)
FactoryImpl.createCtPackageReference(Package originalPackage)
CoreFactory.createPackageReference()
Creates a package reference.Factory.createPackageReference()
FactoryImpl.createPackageReference()
PackageFactory.createReference(Package pack)
Creates a reference to a package by using its Java runtime representation.PackageFactory.createReference(String name)
Creates a reference to a package.PackageFactory.createReference(CtPackage pack)
Creates a reference to an existing package.PackageFactory.topLevel()
Returns a reference on the top level package.Modifier and TypeMethodDescriptionFactory.createPackageDeclaration(CtPackageReference packageRef)
FactoryImpl.createPackageDeclaration(CtPackageReference packageRef)
PackageFactory.createPackageDeclaration(CtPackageReference packageRef)
Creates a package declaration of a package.Factory.createPackageExport(CtPackageReference ctPackageReference)
FactoryImpl.createPackageExport(CtPackageReference ctPackageReference)
ModuleFactory.createPackageExport(CtPackageReference ctPackageReference)
-
Uses of CtPackageReference in spoon.reflect.reference
Modifier and TypeMethodDescriptionCtPackageReference.clone()
CtTypeReference.getPackage()
Gets the package of the referenced type.Modifier and TypeMethodDescription<C extends CtTypeReference<T>>
CCtTypeReference.setPackage(CtPackageReference pack)
Sets the reference to the declaring package. -
Uses of CtPackageReference in spoon.reflect.visitor
Modifier and TypeMethodDescriptionvoid
CtAbstractImportVisitor.visitAllTypesImport(CtPackageReference packageReference)
void
CtImportVisitor.visitAllTypesImport(CtPackageReference packageReference)
Called for import like:import apackage.*;
void
CtAbstractVisitor.visitCtPackageReference(CtPackageReference reference)
void
CtBiScannerDefault.visitCtPackageReference(CtPackageReference reference)
void
CtInheritanceScanner.visitCtPackageReference(CtPackageReference e)
void
CtScanner.visitCtPackageReference(CtPackageReference reference)
void
CtVisitor.visitCtPackageReference(CtPackageReference reference)
Visits a reference to a package.void
DefaultJavaPrettyPrinter.visitCtPackageReference(CtPackageReference reference)
-
Uses of CtPackageReference in spoon.support
-
Uses of CtPackageReference in spoon.support.compiler.jdt
-
Uses of CtPackageReference in spoon.support.reflect.declaration
Modifier and TypeMethodDescriptionCtPackageExportImpl.getPackageReference()
CtPackageDeclarationImpl.getReference()
CtPackageImpl.getReference()
Modifier and TypeMethodDescription<T extends CtPackageExport>
TCtPackageExportImpl.setPackageReference(CtPackageReference packageReference)
CtPackageDeclarationImpl.setReference(CtPackageReference reference)
-
Uses of CtPackageReference in spoon.support.reflect.reference
Modifier and TypeMethodDescriptionCtPackageReferenceImpl.clone()
CtTypeReferenceImpl.getPackage()
Modifier and TypeMethodDescription<C extends CtTypeReference<T>>
CCtTypeReferenceImpl.setPackage(CtPackageReference pack)
-
Uses of CtPackageReference in spoon.support.visitor.clone
Modifier and TypeMethodDescriptionvoid
CloneVisitor.visitCtPackageReference(CtPackageReference reference)
-
Uses of CtPackageReference in spoon.support.visitor.replace
Modifier and TypeMethodDescriptionvoid
ReplacementVisitor.visitCtPackageReference(CtPackageReference reference)