diff options
Diffstat (limited to 'jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/resource/java/QNameAnnotation.java')
-rw-r--r-- | jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/resource/java/QNameAnnotation.java | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/resource/java/QNameAnnotation.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/resource/java/QNameAnnotation.java index d87da74fbe..09ad8efb0a 100644 --- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/resource/java/QNameAnnotation.java +++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/resource/java/QNameAnnotation.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2011 Oracle. All rights reserved. + * Copyright (c) 2011, 2012 Oracle. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0, which accompanies this distribution * and is available at http://www.eclipse.org/legal/epl-v10.html @@ -9,7 +9,6 @@ *******************************************************************************/ package org.eclipse.jpt.jaxb.core.resource.java; -import org.eclipse.jdt.core.dom.CompilationUnit; import org.eclipse.jpt.common.core.resource.java.Annotation; import org.eclipse.jpt.common.core.utility.TextRange; @@ -22,7 +21,7 @@ import org.eclipse.jpt.common.core.utility.TextRange; * pioneering adopters on the understanding that any code that uses this API * will almost certainly be broken (repeatedly) as the API evolves. * - * @version 3.? + * @version 3.3 * @since 3.? */ public interface QNameAnnotation @@ -49,13 +48,13 @@ public interface QNameAnnotation * Return the {@link TextRange} for the 'namespace' element. If the element * does not exist return the {@link TextRange} for the annotation itself. */ - TextRange getNamespaceTextRange(CompilationUnit astRoot); + TextRange getNamespaceTextRange(); /** * Return whether the specified position touches the 'namespace' element. * Return false if the element does not exist. */ - boolean namespaceTouches(int pos, CompilationUnit astRoot); + boolean namespaceTouches(int pos); /** * Constant associated with changes to the 'name' property @@ -78,11 +77,11 @@ public interface QNameAnnotation * Return the {@link TextRange} for the 'name' element. If the element * does not exist return the {@link TextRange} for the annotation itself. */ - TextRange getNameTextRange(CompilationUnit astRoot); + TextRange getNameTextRange(); /** * Return whether the specified position touches the 'name' element. * Return false if the element does not exist. */ - boolean nameTouches(int pos, CompilationUnit astRoot); + boolean nameTouches(int pos); } |