Uses of Interface
spoon.reflect.declaration.CtParameter
Packages that use CtParameter
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 a set of useful filters when querying the model.
This package contains some default implementations for commonly used processing tasks.
-
Uses of CtParameter in spoon.refactoring
Methods in spoon.refactoring that return CtParameterMethods in spoon.refactoring with parameters of type CtParameterModifier and TypeMethodDescriptionprotected voidCtParameterRemoveRefactoring.createParameterUsedIssue(CtParameter<?> usedParameter, CtParameterReference<?> parameterUsage)Override this method to get access to details about this refactoring issueCtParameterRemoveRefactoring.setTarget(CtParameter<?> target) -
Uses of CtParameter in spoon.reflect.declaration
Methods in spoon.reflect.declaration with type parameters of type CtParameterModifier and TypeMethodDescription<U extends CtParameter<T>>
UCtParameter.setInferred(boolean inferred)Set to true if this parameter is a lambda parameter with type defined using the `var` keyword.<C extends CtParameter<T>>
CCtParameter.setVarArgs(boolean varArgs)Sets this parameter to have varargs.Methods in spoon.reflect.declaration that return CtParameterMethods in spoon.reflect.declaration that return types with arguments of type CtParameterModifier and TypeMethodDescriptionList<CtParameter<?>>CtExecutable.getParameters()Gets the parameters list.Methods in spoon.reflect.declaration with parameters of type CtParameterModifier and TypeMethodDescription<T extends CtExecutable<Void>>
TCtAnonymousExecutable.addParameter(CtParameter<?> parameter)<T extends CtExecutable<R>>
TCtExecutable.addParameter(CtParameter<?> parameter)Add a parameter for this executable<T extends CtExecutable<Void>>
TCtAnonymousExecutable.addParameterAt(int position, CtParameter<?> parameter)<T extends CtExecutable<R>>
TCtExecutable.addParameterAt(int position, CtParameter<?> parameter)Add a parameter at a specific position in the executable.booleanCtExecutable.removeParameter(CtParameter<?> parameter)Remove a parameter for this executableMethod parameters in spoon.reflect.declaration with type arguments of type CtParameterModifier and TypeMethodDescription<T1 extends CtExecutable<T>>
T1CtAnnotationMethod.setParameters(List<CtParameter<?>> parameters)<T extends CtExecutable<Void>>
TCtAnonymousExecutable.setParameters(List<CtParameter<?>> parameters)<T extends CtExecutable<R>>
TCtExecutable.setParameters(List<CtParameter<?>> parameters)Sets the parameters. -
Uses of CtParameter in spoon.reflect.factory
Methods in spoon.reflect.factory that return CtParameterModifier and TypeMethodDescription<T> CtParameter<T>CoreFactory.createParameter()Creates a parameter.<T> CtParameter<T>ExecutableFactory.createParameter(CtExecutable<?> parent, CtTypeReference<T> type, String name)Creates a new parameter.<T> CtParameter<T>Factory.createParameter()<T> CtParameter<T>Factory.createParameter(CtExecutable<?> parent, CtTypeReference<T> type, String name)<T> CtParameter<T>FactoryImpl.createParameter()<T> CtParameter<T>FactoryImpl.createParameter(CtExecutable<?> parent, CtTypeReference<T> type, String name)Methods in spoon.reflect.factory with parameters of type CtParameterModifier and TypeMethodDescription<T> CtParameterReference<T>ExecutableFactory.createParameterReference(CtParameter<T> parameter)Creates a parameter reference from an existing parameter.<T> CtParameterReference<T>Factory.createParameterReference(CtParameter<T> parameter)<T> CtParameterReference<T>FactoryImpl.createParameterReference(CtParameter<T> parameter)Method parameters in spoon.reflect.factory with type arguments of type CtParameterModifier and TypeMethodDescription<T> CtConstructor<T>ConstructorFactory.create(CtClass<T> target, Set<ModifierKind> modifiers, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes)Creates an empty constructor.<T> CtConstructor<T>ConstructorFactory.create(CtClass<T> target, Set<ModifierKind> modifiers, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes, CtBlock<T> body)Creates a constructor.<R, B extends R>
CtMethod<R>MethodFactory.create(CtClass<?> target, Set<ModifierKind> modifiers, CtTypeReference<R> returnType, String name, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes, CtBlock<B> body)Creates a method.<T> CtMethod<T>MethodFactory.create(CtType<?> target, Set<ModifierKind> modifiers, CtTypeReference<T> returnType, String name, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes)Creates an empty method.Factory.createConstructor(CtClass target, Set<ModifierKind> modifiers, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes)Factory.createConstructor(CtClass target, Set<ModifierKind> modifiers, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes, CtBlock body)FactoryImpl.createConstructor(CtClass target, Set<ModifierKind> modifiers, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes)FactoryImpl.createConstructor(CtClass target, Set<ModifierKind> modifiers, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes, CtBlock body)Factory.createMethod(CtClass<?> target, Set<ModifierKind> modifiers, CtTypeReference returnType, String name, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes, CtBlock body)Factory.createMethod(CtType<?> target, Set<ModifierKind> modifiers, CtTypeReference returnType, String name, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes)FactoryImpl.createMethod(CtClass<?> target, Set<ModifierKind> modifiers, CtTypeReference returnType, String name, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes, CtBlock body)FactoryImpl.createMethod(CtType<?> target, Set<ModifierKind> modifiers, CtTypeReference returnType, String name, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes) -
Uses of CtParameter in spoon.reflect.reference
Methods in spoon.reflect.reference that return CtParameter -
Uses of CtParameter in spoon.reflect.visitor
Methods in spoon.reflect.visitor with parameters of type CtParameterModifier and TypeMethodDescription<T> voidCtAbstractVisitor.visitCtParameter(CtParameter<T> parameter)<T> voidCtBiScannerDefault.visitCtParameter(CtParameter<T> parameter)<T> voidCtInheritanceScanner.visitCtParameter(CtParameter<T> e)<T> voidCtScanner.visitCtParameter(CtParameter<T> parameter)<T> voidCtVisitor.visitCtParameter(CtParameter<T> parameter)Visits a parameter declaration.<T> voidDefaultJavaPrettyPrinter.visitCtParameter(CtParameter<T> parameter) -
Uses of CtParameter in spoon.reflect.visitor.filter
Methods in spoon.reflect.visitor.filter with parameters of type CtParameterModifier and TypeMethodDescriptionvoidParameterScopeFunction.apply(CtParameter<?> parameter, CtConsumer<Object> outputConsumer)<T> voidVariableReferenceFunction.Visitor.visitCtParameter(CtParameter<T> parameter)calls outputConsumer for each reference of the parameter<T> voidVariableScopeFunction.Visitor.visitCtParameter(CtParameter<T> parameter)calls outputConsumer for each reference of the parameterConstructors in spoon.reflect.visitor.filter with parameters of type CtParameterModifierConstructorDescriptionParameterReferenceFunction(CtParameter<?> parameter)This constructor allows to define target parameter - the one for which this function will search for. -
Uses of CtParameter in spoon.support
Methods in spoon.support that return CtParameter -
Uses of CtParameter in spoon.support.reflect.code
Methods in spoon.support.reflect.code that return types with arguments of type CtParameterMethods in spoon.support.reflect.code with parameters of type CtParameterModifier and TypeMethodDescription<C extends CtExecutable<T>>
CCtLambdaImpl.addParameter(CtParameter<?> parameter)<C extends CtExecutable<T>>
CCtLambdaImpl.addParameterAt(int position, CtParameter<?> parameter)booleanCtLambdaImpl.removeParameter(CtParameter<?> parameter)Method parameters in spoon.support.reflect.code with type arguments of type CtParameterModifier and TypeMethodDescription<C extends CtExecutable<T>>
CCtLambdaImpl.setParameters(List<CtParameter<?>> params) -
Uses of CtParameter in spoon.support.reflect.declaration
Classes in spoon.support.reflect.declaration that implement CtParameterMethods in spoon.support.reflect.declaration with type parameters of type CtParameterModifier and TypeMethodDescription<U extends CtParameter<T>>
UCtParameterImpl.setInferred(boolean inferred)<C extends CtParameter<T>>
CCtParameterImpl.setVarArgs(boolean varArgs)Methods in spoon.support.reflect.declaration that return CtParameterMethods in spoon.support.reflect.declaration that return types with arguments of type CtParameterModifier and TypeMethodDescriptionList<CtParameter<?>>CtAnnotationMethodImpl.getParameters()List<CtParameter<?>>CtAnonymousExecutableImpl.getParameters()List<CtParameter<?>>CtExecutableImpl.getParameters()Methods in spoon.support.reflect.declaration with parameters of type CtParameterModifier and TypeMethodDescriptionCtAnonymousExecutableImpl.addParameter(CtParameter parameter)<T extends CtExecutable<R>>
TCtExecutableImpl.addParameter(CtParameter<?> parameter)CtAnonymousExecutableImpl.addParameterAt(int position, CtParameter parameter)<T extends CtExecutable<R>>
TCtExecutableImpl.addParameterAt(int position, CtParameter<?> parameter)booleanCtAnonymousExecutableImpl.removeParameter(CtParameter parameter)booleanCtExecutableImpl.removeParameter(CtParameter<?> parameter)Method parameters in spoon.support.reflect.declaration with type arguments of type CtParameterModifier and TypeMethodDescription<U extends CtExecutable<T>>
UCtAnnotationMethodImpl.setParameters(List<CtParameter<?>> parameters)<T extends CtExecutable<R>>
TCtExecutableImpl.setParameters(List<CtParameter<?>> parameters) -
Uses of CtParameter in spoon.support.reflect.reference
Methods in spoon.support.reflect.reference that return CtParameter -
Uses of CtParameter in spoon.support.visitor.clone
Methods in spoon.support.visitor.clone with parameters of type CtParameterModifier and TypeMethodDescription<T> voidCloneBuilder.visitCtParameter(CtParameter<T> e)<T> voidCloneVisitor.visitCtParameter(CtParameter<T> parameter) -
Uses of CtParameter in spoon.support.visitor.equals
Methods in spoon.support.visitor.equals with parameters of type CtParameter -
Uses of CtParameter in spoon.support.visitor.java.internal
Methods in spoon.support.visitor.java.internal with parameters of type CtParameterModifier and TypeMethodDescriptionvoidExecutableRuntimeBuilderContext.addParameter(CtParameter ctParameter)voidRuntimeBuilderContext.addParameter(CtParameter ctParameter)Constructors in spoon.support.visitor.java.internal with parameters of type CtParameter -
Uses of CtParameter in spoon.support.visitor.replace
Methods in spoon.support.visitor.replace with parameters of type CtParameterModifier and TypeMethodDescription<T> voidReplacementVisitor.visitCtParameter(CtParameter<T> parameter)