diff options
Diffstat (limited to 'api/src/main/java/org/osjava/jardiff/AbstractMemberInfo.java')
-rw-r--r-- | api/src/main/java/org/osjava/jardiff/AbstractMemberInfo.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/api/src/main/java/org/osjava/jardiff/AbstractMemberInfo.java b/api/src/main/java/org/osjava/jardiff/AbstractMemberInfo.java new file mode 100644 index 0000000..4dc0ae9 --- /dev/null +++ b/api/src/main/java/org/osjava/jardiff/AbstractMemberInfo.java @@ -0,0 +1,25 @@ +package org.osjava.jardiff; + +public abstract class AbstractMemberInfo extends AbstractInfo { + + /** + * The internal name of this member's class + */ + private final String className; + + public AbstractMemberInfo(final String className, final int access, final String name) { + super(access, name); + this.className = className; + } + + /** + * Get the internal name of member's class + * + * @return the name + */ + public final String getClassName() { + return className; + } + + +} |