public class CtParameterReferenceImpl<T> extends CtVariableReferenceImpl<T> implements CtParameterReference<T>
simplename
ERROR_MESSAGE_TO_STRING, factory, LOGGER, parent
Constructor and Description |
---|
CtParameterReferenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
accept(CtVisitor visitor)
Accepts a visitor
|
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.
|
getActualAnnotatedElement, getModifiers, getType, setType
equals, getSimpleName, setComments, setSimpleName
addAnnotation, addComment, asIterable, comment, delete, descendantIterator, emptyList, emptySet, filterChildren, getAllMetadata, getAnnotatedChildren, getAnnotation, getAnnotation, getAnnotations, getComments, getDirectChildren, getDocComment, getElements, getFactory, getMetadata, getMetadataKeys, getOriginalSourceFragment, getParent, getParent, getParent, getPath, getPosition, getReferencedTypes, getRoleInParent, getShortRepresentation, getValueByRole, hasAnnotation, hashCode, hasParent, isImplicit, isParentInitialized, map, map, prettyprint, putMetadata, removeAnnotation, removeComment, replace, replace, setAllMetadata, setAnnotations, setDocComment, setFactory, setImplicit, setParent, setPosition, setPositions, setValueByRole, toString, toStringDebug, unmodifiableList, updateAllParentsBelow
finalize, getClass, notify, notifyAll, wait, wait, wait
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
filterChildren, map, map
public void accept(CtVisitor visitor)
CtVisitable
accept
in interface CtVisitable
accept
in class CtVariableReferenceImpl<T>
public CtExecutableReference<?> getDeclaringExecutable()
CtParameterReference
getDeclaringExecutable
in interface CtParameterReference<T>
public CtParameter<T> getDeclaration()
CtVariableReference
getDeclaration
in interface CtParameterReference<T>
getDeclaration
in interface CtReference
getDeclaration
in interface CtVariableReference<T>
getDeclaration
in class CtVariableReferenceImpl<T>
public 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 CtParameterReference<T>
clone
in interface CtReference
clone
in interface CtVariableReference<T>
clone
in class CtVariableReferenceImpl<T>
Copyright © 2007–2021 Inria. All rights reserved.