public interface CtCatchVariableReference<T> extends CtVariableReference<T>
CtCatchVariable
.Modifier and Type | Method and Description |
---|---|
CtCatchVariableReference<T> |
clone()
Clone the element which calls this method in a new object.
|
CtCatchVariable<T> |
getDeclaration()
Tries to get the declaration of the reference.
|
getModifiers, getType, setType
getSimpleName, setComments, setSimpleName
addAnnotation, addComment, asIterable, delete, descendantIterator, getAllMetadata, getAnnotatedChildren, getAnnotation, getAnnotation, getAnnotations, getComments, getDirectChildren, getDocComment, getElements, getMetadata, getMetadataKeys, getParent, getParent, getParent, getPath, getPosition, getReferencedTypes, getRoleInParent, getShortRepresentation, getValueByRole, hasAnnotation, hasParent, isImplicit, isParentInitialized, putMetadata, removeAnnotation, removeComment, replace, replace, setAllMetadata, setAnnotations, setDocComment, setImplicit, setParent, setPosition, setPositions, setValueByRole, updateAllParentsBelow
getFactory, setFactory
accept
filterChildren, map, map
getOriginalSourceFragment
CtCatchVariable<T> getDeclaration()
CtVariableReference
getDeclaration
in interface CtReference
getDeclaration
in interface CtVariableReference<T>
CtCatchVariableReference<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–2019 Inria. All rights reserved.