diff options
Diffstat (limited to 'jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/java/AbstractQNameAnnotationProxy.java')
-rw-r--r-- | jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/java/AbstractQNameAnnotationProxy.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/java/AbstractQNameAnnotationProxy.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/java/AbstractQNameAnnotationProxy.java index 79e6d0bdb9..f7a322bd4d 100644 --- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/java/AbstractQNameAnnotationProxy.java +++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/java/AbstractQNameAnnotationProxy.java @@ -35,9 +35,9 @@ public abstract class AbstractQNameAnnotationProxy return (annotation == null) ? false : annotation.namespaceTouches(pos); } - public TextRange getNamespaceTextRange() { + public TextRange getNamespaceValidationTextRange() { QNameAnnotation annotation = getAnnotation(false); - return (annotation == null) ? null : annotation.getNamespaceTextRange(); + return (annotation == null) ? null : annotation.getNamespaceValidationTextRange(); } public String getName() { @@ -54,8 +54,8 @@ public abstract class AbstractQNameAnnotationProxy return (annotation == null) ? false : annotation.nameTouches(pos); } - public TextRange getNameTextRange() { + public TextRange getNameValidationTextRange() { QNameAnnotation annotation = getAnnotation(false); - return (annotation == null) ? null : annotation.getNameTextRange(); + return (annotation == null) ? null : annotation.getNameValidationTextRange(); } }
\ No newline at end of file |