aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/java/lang/reflect/Member.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/java/lang/reflect/Member.java')
-rw-r--r--libjava/classpath/java/lang/reflect/Member.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/libjava/classpath/java/lang/reflect/Member.java b/libjava/classpath/java/lang/reflect/Member.java
index c39731f..fed962c 100644
--- a/libjava/classpath/java/lang/reflect/Member.java
+++ b/libjava/classpath/java/lang/reflect/Member.java
@@ -97,4 +97,13 @@ public interface Member
* @see Modifier
*/
int getModifiers();
+
+ /**
+ * Return true if this member is synthetic, meaning that it was
+ * created by the compiler and does not appear in the user's
+ * source code.
+ * @return true if the member is synthetic
+ * @since 1.5
+ */
+ boolean isSynthetic();
}