You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mnemonic.apache.org by ga...@apache.org on 2018/05/28 16:38:43 UTC

mnemonic git commit: MNEMONIC-482:Support reference breaking mark on specified fields

Repository: mnemonic
Updated Branches:
  refs/heads/master 10a250105 -> 34dc80309


MNEMONIC-482:Support reference breaking mark on specified fields


Project: http://git-wip-us.apache.org/repos/asf/mnemonic/repo
Commit: http://git-wip-us.apache.org/repos/asf/mnemonic/commit/34dc8030
Tree: http://git-wip-us.apache.org/repos/asf/mnemonic/tree/34dc8030
Diff: http://git-wip-us.apache.org/repos/asf/mnemonic/diff/34dc8030

Branch: refs/heads/master
Commit: 34dc8030981a1818c1ec89b7ebeac3e3bd8e1efb
Parents: 10a2501
Author: Yanhui Zhao <yz...@apache.org>
Authored: Sun May 27 21:00:51 2018 -0700
Committer: Yanhui Zhao <yz...@apache.org>
Committed: Sun May 27 21:00:51 2018 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/mnemonic/RefBreak.java | 34 ++++++++++++++++++++
 1 file changed, 34 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mnemonic/blob/34dc8030/mnemonic-core/src/main/java/org/apache/mnemonic/RefBreak.java
----------------------------------------------------------------------
diff --git a/mnemonic-core/src/main/java/org/apache/mnemonic/RefBreak.java b/mnemonic-core/src/main/java/org/apache/mnemonic/RefBreak.java
new file mode 100644
index 0000000..37ea230
--- /dev/null
+++ b/mnemonic-core/src/main/java/org/apache/mnemonic/RefBreak.java
@@ -0,0 +1,34 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.mnemonic;
+
+/**
+ * this class defines an annotation for refbreak methods of non-volatile entity
+ *
+ */
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.CLASS)
+public @interface RefBreak {
+
+}