public interface CtParameterReference<T> extends CtVariableReference<T>
CtParameter
of a method.Modifier and Type | Method and Description |
---|---|
CtParameterReference<T> |
clone()
Clone the element which calls this method in a new object.
|
CtParameter<T> |
getDeclaration()
Tries to get the declaration of the reference.
|
CtExecutableReference<?> |
getDeclaringExecutable()
Gets the declaring executable of the referenced parameter.
|
getModifiers, getType, setType
getSimpleName, setComments, setSimpleName
addAnnotation, addComment, asIterable, delete, descendantIterator, getAllMetadata, getAnnotatedChildren, getAnnotation, getAnnotation, getAnnotations, getComments, getDirectChildren, getDocComment, getElements, getMetadata, getMetadataKeys, getOriginalSourceFragment, getParent, getParent, getParent, getPath, getPosition, getReferencedTypes, getRoleInParent, getShortRepresentation, getValueByRole, hasAnnotation, hasParent, isImplicit, isParentInitialized, prettyprint, putMetadata, removeAnnotation, removeComment, replace, replace, setAllMetadata, setAnnotations, setDocComment, setImplicit, setParent, setPosition, setPositions, setValueByRole, toString, toStringDebug, updateAllParentsBelow
getFactory, setFactory
accept
filterChildren, map, map
CtExecutableReference<?> getDeclaringExecutable()
CtParameter<T> getDeclaration()
CtVariableReference
getDeclaration
in interface CtReference
getDeclaration
in interface CtVariableReference<T>
CtParameterReference<T> clone()
CtElement
Refactoring.copyType(CtType)
and Refactoring.copyMethod(CtMethod)
instead which does additional work beyond cloning.clone
in interface CtElement
clone
in interface CtReference
clone
in interface CtVariableReference<T>
Copyright © 2007–2021 Inria. All rights reserved.