diff options
author | Stephan Herrmann | 2010-07-08 20:29:21 +0000 |
---|---|---|
committer | Stephan Herrmann | 2010-07-08 20:29:21 +0000 |
commit | d79b1bbc32add9afc769e9d388377a65984288c9 (patch) | |
tree | 863dfd1c7879ed897cbfd0e6657d3d19d6d88526 /othersrc | |
parent | 1a7c8170e5d1aa988f9e21764b18d06947b0c592 (diff) | |
download | org.eclipse.objectteams-d79b1bbc32add9afc769e9d388377a65984288c9.tar.gz org.eclipse.objectteams-d79b1bbc32add9afc769e9d388377a65984288c9.tar.xz org.eclipse.objectteams-d79b1bbc32add9afc769e9d388377a65984288c9.zip |
document and suppress last warnings here (deprecation)
Diffstat (limited to 'othersrc')
-rw-r--r-- | othersrc/OTRE/src/org/eclipse/objectteams/otre/BaseMethodTransformation.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/othersrc/OTRE/src/org/eclipse/objectteams/otre/BaseMethodTransformation.java b/othersrc/OTRE/src/org/eclipse/objectteams/otre/BaseMethodTransformation.java index bee1dd45f..d6f4aba6f 100644 --- a/othersrc/OTRE/src/org/eclipse/objectteams/otre/BaseMethodTransformation.java +++ b/othersrc/OTRE/src/org/eclipse/objectteams/otre/BaseMethodTransformation.java @@ -204,6 +204,7 @@ public class BaseMethodTransformation if ( !is_name.equals(method_name) // not same method && !is_name.equals("<init>")) // not ctor call { + @SuppressWarnings("deprecation") // type of is (invokespecial) cannot be array type String superClassName = is.getClassName(cpg); if ( !superClassName.equals(className) // not private method of same class && CallinBindingManager.isBoundBaseMethod( // target method is callin-affected @@ -457,6 +458,7 @@ public class BaseMethodTransformation INVOKESPECIAL is = (INVOKESPECIAL)actInstruction; String is_name = is.getName(cpg); if(is_name.equals(method_name)) { + @SuppressWarnings("deprecation") // type if is (invokespecial) cannot be array type String superClassName = is.getClassName(cpg); if(logging) printLogMessage("super-call to " + is_name //$NON-NLS-1$ + " has to be redirected to the orig-version!"); //$NON-NLS-1$ |