public class CtUnboundVariableReferenceImpl<T> extends CtVariableReferenceImpl<T> implements CtUnboundVariableReference<T>
simplename
ERROR_MESSAGE_TO_STRING, factory, LOGGER, parent
Constructor and Description |
---|
CtUnboundVariableReferenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
accept(CtVisitor visitor)
Accepts a visitor
|
CtUnboundVariableReference<T> |
clone()
Clone the element which calls this method in a new object.
|
java.util.List<CtAnnotation<? extends java.lang.annotation.Annotation>> |
getAnnotations()
Returns the annotations that are present on this element.
|
<E extends CtElement> |
setAnnotations(java.util.List<CtAnnotation<? extends java.lang.annotation.Annotation>> annotations)
Sets the annotations for this element.
|
getActualAnnotatedElement, getDeclaration, getModifiers, getType, setType
equals, getSimpleName, setComments, setSimpleName
addAnnotation, addComment, asIterable, comment, delete, descendantIterator, emptyList, emptySet, filterChildren, getAllMetadata, getAnnotatedChildren, getAnnotation, getAnnotation, 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, setDocComment, setFactory, setImplicit, setParent, setPosition, setPositions, setValueByRole, toString, toStringDebug, unmodifiableList, updateAllParentsBelow
finalize, getClass, notify, notifyAll, wait, wait, wait
getDeclaration, getModifiers, getType, setType
getSimpleName, setComments, setSimpleName
addAnnotation, addComment, asIterable, delete, descendantIterator, getAllMetadata, getAnnotatedChildren, getAnnotation, getAnnotation, 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, 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 CtUnboundVariableReference<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 CtUnboundVariableReference<T>
clone
in interface CtVariableReference<T>
clone
in class CtVariableReferenceImpl<T>
public java.util.List<CtAnnotation<? extends java.lang.annotation.Annotation>> getAnnotations()
CtElement
getAnnotations
in interface CtElement
getAnnotations
in class CtElementImpl
public <E extends CtElement> E setAnnotations(java.util.List<CtAnnotation<? extends java.lang.annotation.Annotation>> annotations)
CtElement
setAnnotations
in interface CtElement
setAnnotations
in interface CtUnboundVariableReference<T>
setAnnotations
in class CtElementImpl
Copyright © 2007–2021 Inria. All rights reserved.