Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/resource/java/JavaResourcePersistentMember.java')
-rw-r--r--jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/resource/java/JavaResourcePersistentMember.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/resource/java/JavaResourcePersistentMember.java b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/resource/java/JavaResourcePersistentMember.java
index f45433b6f2..ac7c407960 100644
--- a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/resource/java/JavaResourcePersistentMember.java
+++ b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/resource/java/JavaResourcePersistentMember.java
@@ -107,13 +107,13 @@ public interface JavaResourcePersistentMember extends JavaResourceNode
JavaResourceNode nonNullAnnotation(String annotationName);
/**
- * Returns the <code>JavaResource</code> with this fully qualifed annotation name.
- * Return the first if there are duplicates in the source code. Will not return null,
- * but a null Object instead if no annotation with this name exists in the java source.
+ * Return a null implementation of <code>JavaResourceNode</code> with this fully qualifed annotation name.
+ * The corresponding AnnotationDefinition needs to implement buildNullAnnotation()
+ * {@link AnnotationDefinition#buildNullAnnotation(JavaResourcePersistentMember, org.eclipse.jpt.core.internal.jdtutility.Member)}
* @param annotationName
* @return
*/
- JavaResourceNode nonNullMappingAnnotation(String annotationName);
+ JavaResourceNode nullMappingAnnotation(String annotationName);
/**
* Add an annotation for the given fully qualified annotation name

Back to the top