diff --git a/build-maven-jars.py b/build-maven-jars.py index 21c607690..1e3752f6c 100755 --- a/build-maven-jars.py +++ b/build-maven-jars.py @@ -22,7 +22,9 @@ projects = [ "cast.java", "cast.java.ecj", "cast.js", - "cast.js.rhino" + "cast.js.rhino", + "dalvik", + "scandroid" ] for proj in projects: diff --git a/com.ibm.wala-feature/feature.xml b/com.ibm.wala-feature/feature.xml index 8da4c4949..1dcd43d98 100644 --- a/com.ibm.wala-feature/feature.xml +++ b/com.ibm.wala-feature/feature.xml @@ -2,7 +2,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala-feature eclipse-feature diff --git a/com.ibm.wala-repository/pom.xml b/com.ibm.wala-repository/pom.xml index d7932c555..409525143 100644 --- a/com.ibm.wala-repository/pom.xml +++ b/com.ibm.wala-repository/pom.xml @@ -5,7 +5,7 @@ com.ibm.wala WALA - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala-repository eclipse-repository diff --git a/com.ibm.wala.cast.java.ecj/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.cast.java.ecj/.settings/org.eclipse.jdt.core.prefs index c944afd21..f5c780568 100644 --- a/com.ibm.wala.cast.java.ecj/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.cast.java.ecj/.settings/org.eclipse.jdt.core.prefs @@ -5,4 +5,8 @@ org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 org.eclipse.jdt.core.compiler.compliance=1.7 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=no_tag +org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore org.eclipse.jdt.core.compiler.source=1.7 diff --git a/com.ibm.wala.cast.java.ecj/META-INF/MANIFEST.MF b/com.ibm.wala.cast.java.ecj/META-INF/MANIFEST.MF index 5dc187f62..76811bfe1 100644 --- a/com.ibm.wala.cast.java.ecj/META-INF/MANIFEST.MF +++ b/com.ibm.wala.cast.java.ecj/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: WALA CAst Java ECJ frontend Bundle-SymbolicName: com.ibm.wala.cast.java.ecj -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Vendor: IBM Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Require-Bundle: com.ibm.wala.cast.java, diff --git a/com.ibm.wala.cast.java.ecj/mvncentral.xml b/com.ibm.wala.cast.java.ecj/mvncentral.xml index 0829cc571..1e48fa241 100644 --- a/com.ibm.wala.cast.java.ecj/mvncentral.xml +++ b/com.ibm.wala.cast.java.ecj/mvncentral.xml @@ -5,7 +5,7 @@ 4.0.0 com.ibm.wala com.ibm.wala.cast.java.ecj - 1.4.1-SNAPSHOT + 1.4.1 jar WALA CAst Java ECJ WALA Common AST Java ECJ front-end @@ -45,22 +45,22 @@ com.ibm.wala com.ibm.wala.cast - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala com.ibm.wala.cast.java - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala com.ibm.wala.core - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala com.ibm.wala.shrike - 1.4.1-SNAPSHOT + 1.4.1 org.eclipse.core diff --git a/com.ibm.wala.cast.java.ecj/pom.xml b/com.ibm.wala.cast.java.ecj/pom.xml index 7aac891f5..265455e95 100644 --- a/com.ibm.wala.cast.java.ecj/pom.xml +++ b/com.ibm.wala.cast.java.ecj/pom.xml @@ -5,7 +5,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.cast.java.ecj eclipse-plugin diff --git a/com.ibm.wala.cast.java.ecj/src/com/ibm/wala/cast/java/translator/jdt/JDTIdentityMapper.java b/com.ibm.wala.cast.java.ecj/src/com/ibm/wala/cast/java/translator/jdt/JDTIdentityMapper.java index 17c867283..36913192a 100644 --- a/com.ibm.wala.cast.java.ecj/src/com/ibm/wala/cast/java/translator/jdt/JDTIdentityMapper.java +++ b/com.ibm.wala.cast.java.ecj/src/com/ibm/wala/cast/java/translator/jdt/JDTIdentityMapper.java @@ -88,7 +88,7 @@ public class JDTIdentityMapper { * This method canonicalizes the TypeReferences */ public TypeReference getTypeRef(ITypeBinding type) { - type = JDT2CAstUtils.getErasedType((ITypeBinding) type, fAst); // GENERICS: erasure... + type = JDT2CAstUtils.getErasedType(type, fAst); // GENERICS: erasure... if (!fTypeMap.containsKey(type.getKey())) { TypeName typeName = TypeName.string2TypeName(typeToTypeID(type)); diff --git a/com.ibm.wala.cast.java.ecj/src/com/ibm/wala/cast/java/translator/jdt/JDTJava2CAstTranslator.java b/com.ibm.wala.cast.java.ecj/src/com/ibm/wala/cast/java/translator/jdt/JDTJava2CAstTranslator.java index 6028b132c..35b06de08 100644 --- a/com.ibm.wala.cast.java.ecj/src/com/ibm/wala/cast/java/translator/jdt/JDTJava2CAstTranslator.java +++ b/com.ibm.wala.cast.java.ecj/src/com/ibm/wala/cast/java/translator/jdt/JDTJava2CAstTranslator.java @@ -548,7 +548,7 @@ public abstract class JDTJava2CAstTranslator { // TODO 1.6: enums of course... AbstractTypeDeclaration decl = n.getDeclaration(); assert decl instanceof TypeDeclaration : "Local enum declaration not yet supported"; - CAstEntity classEntity = visitTypeDecl((TypeDeclaration) decl, context); + CAstEntity classEntity = visitTypeDecl(decl, context); // these statements doin't actually do anything, just define a type final CAstNode lcdNode = makeNode(context, fFactory, n, CAstNode.EMPTY); @@ -1681,9 +1681,6 @@ public abstract class JDTJava2CAstTranslator { * where field 'y' is parameterized to type string. then += is not defined for type 'object'. This function is a hack that expands * the code into an assignment and binary operation. * - * @param leftCast this is the left cast in the original expression. We throw most of it away, although we use the "Cast from" and - * "cast to" - * @param left * @param context * @return */ @@ -1837,7 +1834,6 @@ public abstract class JDTJava2CAstTranslator { * owningTypeRef or the subtype that the field is accessed thru, for expanding "f = 5" into "TheClass.this.f = 5". * * @param typeOfThis - * @param owningTypeRef * @param isPrivate * @return */ @@ -1899,10 +1895,9 @@ public abstract class JDTJava2CAstTranslator { * exception. maybe handle this in here as a special case? i don't know... or check if targetNode is THIS, that should even work * for this.x = 5 and (this).x = 5 * - * @param target Used to evaluate the field access. In the case of static field accesses, this is included in the first part of a + * @param targetNode Used to evaluate the field access. In the case of static field accesses, this is included in the first part of a * block -- thus it is evaluated for any side effects but thrown away. * @param fieldName Name of the field. - * @param fieldBinding This is used to determine the field's class. * @param positioningNode Used only for making a JdtPosition. * @param context * @return @@ -2839,7 +2834,6 @@ public abstract class JDTJava2CAstTranslator { /** * Giant switch statement, part deux * - * @param body * @param context * @return */ diff --git a/com.ibm.wala.cast.java.ecj/src/com/ibm/wala/cast/java/translator/jdt/JDTTypeDictionary.java b/com.ibm.wala.cast.java.ecj/src/com/ibm/wala/cast/java/translator/jdt/JDTTypeDictionary.java index b6052e671..c8cd5f425 100644 --- a/com.ibm.wala.cast.java.ecj/src/com/ibm/wala/cast/java/translator/jdt/JDTTypeDictionary.java +++ b/com.ibm.wala.cast.java.ecj/src/com/ibm/wala/cast/java/translator/jdt/JDTTypeDictionary.java @@ -62,7 +62,6 @@ public class JDTTypeDictionary extends CAstTypeDictionaryImpl { /** * * @param ast Needed to get root type "java.lang.Object" - * @param translator */ public JDTTypeDictionary(AST ast, JDTIdentityMapper identityMapper) { fAst = ast; @@ -121,7 +120,6 @@ public class JDTTypeDictionary extends CAstTypeDictionaryImpl { } @Override - @SuppressWarnings("unchecked") public Collection getSupertypes() { if (fEltJdtType.isPrimitive()) return Collections.singleton(getCAstTypeFor(fAst.resolveWellKnownType("java.lang.Object"))); @@ -160,7 +158,6 @@ public class JDTTypeDictionary extends CAstTypeDictionaryImpl { } @Override - @SuppressWarnings("unchecked") public Collection getSupertypes() { if (fSuperTypes == null) { buildSuperTypes(); diff --git a/com.ibm.wala.cast.java.ecj/src/com/ibm/wala/cast/java/translator/jdt/ecj/ECJSourceModuleTranslator.java b/com.ibm.wala.cast.java.ecj/src/com/ibm/wala/cast/java/translator/jdt/ecj/ECJSourceModuleTranslator.java index e9196a142..fa0607287 100644 --- a/com.ibm.wala.cast.java.ecj/src/com/ibm/wala/cast/java/translator/jdt/ecj/ECJSourceModuleTranslator.java +++ b/com.ibm.wala.cast.java.ecj/src/com/ibm/wala/cast/java/translator/jdt/ecj/ECJSourceModuleTranslator.java @@ -171,7 +171,6 @@ public class ECJSourceModuleTranslator implements SourceModuleTranslator { * Project -> AST code from org.eclipse.jdt.core.tests.performance */ - @SuppressWarnings("unchecked") @Override public void loadAllSources(Set modules) { List sources = new LinkedList<>(); diff --git a/com.ibm.wala.cast.java.test.data/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.cast.java.test.data/.settings/org.eclipse.jdt.core.prefs index 4c8bbd5ba..2d837975c 100644 --- a/com.ibm.wala.cast.java.test.data/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.cast.java.test.data/.settings/org.eclipse.jdt.core.prefs @@ -95,6 +95,7 @@ org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore org.eclipse.jdt.core.compiler.problem.unusedImport=warning org.eclipse.jdt.core.compiler.problem.unusedLabel=warning org.eclipse.jdt.core.compiler.problem.unusedLocal=warning diff --git a/com.ibm.wala.cast.java.test.data/META-INF/MANIFEST.MF b/com.ibm.wala.cast.java.test.data/META-INF/MANIFEST.MF index fd1193650..9984aeba3 100644 --- a/com.ibm.wala.cast.java.test.data/META-INF/MANIFEST.MF +++ b/com.ibm.wala.cast.java.test.data/META-INF/MANIFEST.MF @@ -2,6 +2,6 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Data Plug-in Bundle-SymbolicName: com.ibm.wala.cast.java.test.data -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Vendor: IBM Bundle-RequiredExecutionEnvironment: JavaSE-1.7 diff --git a/com.ibm.wala.cast.java.test.data/pom.xml b/com.ibm.wala.cast.java.test.data/pom.xml index c9756cd26..a38a25878 100644 --- a/com.ibm.wala.cast.java.test.data/pom.xml +++ b/com.ibm.wala.cast.java.test.data/pom.xml @@ -5,7 +5,7 @@ com.ibm.wala WALA - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.cast.java.test.data eclipse-plugin diff --git a/com.ibm.wala.cast.java.test.data/src/MiniaturSliceBug.java b/com.ibm.wala.cast.java.test.data/src/MiniaturSliceBug.java index f80645d4b..ddf287fee 100644 --- a/com.ibm.wala.cast.java.test.data/src/MiniaturSliceBug.java +++ b/com.ibm.wala.cast.java.test.data/src/MiniaturSliceBug.java @@ -49,6 +49,7 @@ final class IntWrapper extends PrimitiveWrapper { * @see com.ibm.miniatur.tests.sequential.PrimitiveWrapper#intValue() */ + @SuppressWarnings("javadoc") public int intValue() { return val; } @@ -58,6 +59,7 @@ final class IntWrapper extends PrimitiveWrapper { * @see com.ibm.miniatur.tests.sequential.PrimitiveWrapper#setIntValue(int) */ + @SuppressWarnings("javadoc") public void setIntValue(int i) { this.val = i; } @@ -67,6 +69,7 @@ final class IntWrapper extends PrimitiveWrapper { * @see com.ibm.miniatur.tests.sequential.PrimitiveWrapper#equals(java.lang.Object) */ + @SuppressWarnings("javadoc") public boolean equals(Object o) { return o instanceof IntWrapper && ((IntWrapper)o).val==val; } diff --git a/com.ibm.wala.cast.java.test/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.cast.java.test/.settings/org.eclipse.jdt.core.prefs index 5f809a485..6f548f01a 100644 --- a/com.ibm.wala.cast.java.test/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.cast.java.test/.settings/org.eclipse.jdt.core.prefs @@ -38,6 +38,7 @@ org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public diff --git a/com.ibm.wala.cast.java.test/META-INF/MANIFEST.MF b/com.ibm.wala.cast.java.test/META-INF/MANIFEST.MF index 4a1f5a1d0..ad0a9be87 100644 --- a/com.ibm.wala.cast.java.test/META-INF/MANIFEST.MF +++ b/com.ibm.wala.cast.java.test/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Java AST WALA Test Plug-in Bundle-SymbolicName: com.ibm.wala.cast.java.test -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Activator: com.ibm.wala.cast.java.test.TestPlugin Bundle-Vendor: IBM Require-Bundle: com.ibm.wala.core.tests, diff --git a/com.ibm.wala.cast.java.test/pom.xml b/com.ibm.wala.cast.java.test/pom.xml index c191bcf42..2e89e2cd1 100644 --- a/com.ibm.wala.cast.java.test/pom.xml +++ b/com.ibm.wala.cast.java.test/pom.xml @@ -5,7 +5,7 @@ com.ibm.wala WALA - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.cast.java.test eclipse-plugin diff --git a/com.ibm.wala.cast.java/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.cast.java/.settings/org.eclipse.jdt.core.prefs index b01c06206..a93812f12 100644 --- a/com.ibm.wala.cast.java/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.cast.java/.settings/org.eclipse.jdt.core.prefs @@ -38,6 +38,7 @@ org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public diff --git a/com.ibm.wala.cast.java/META-INF/MANIFEST.MF b/com.ibm.wala.cast.java/META-INF/MANIFEST.MF index 340a5e397..635c14e67 100644 --- a/com.ibm.wala.cast.java/META-INF/MANIFEST.MF +++ b/com.ibm.wala.cast.java/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Java Source WALA Front End Bundle-SymbolicName: com.ibm.wala.cast.java -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Vendor: rfuhrer@watson.ibm.com Require-Bundle: com.ibm.wala.cast, com.ibm.wala.core, diff --git a/com.ibm.wala.cast.java/mvncentral.xml b/com.ibm.wala.cast.java/mvncentral.xml index 340214812..77764ca40 100644 --- a/com.ibm.wala.cast.java/mvncentral.xml +++ b/com.ibm.wala.cast.java/mvncentral.xml @@ -5,7 +5,7 @@ 4.0.0 com.ibm.wala com.ibm.wala.cast.java - 1.4.1-SNAPSHOT + 1.4.1 jar WALA CAst WALA Common AST core Java front-end functionality @@ -45,17 +45,17 @@ com.ibm.wala com.ibm.wala.cast - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala com.ibm.wala.core - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala com.ibm.wala.shrike - 1.4.1-SNAPSHOT + 1.4.1 diff --git a/com.ibm.wala.cast.java/pom.xml b/com.ibm.wala.cast.java/pom.xml index e7bad9ca7..fc7343523 100644 --- a/com.ibm.wala.cast.java/pom.xml +++ b/com.ibm.wala.cast.java/pom.xml @@ -5,7 +5,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.cast.java eclipse-plugin diff --git a/com.ibm.wala.cast.java/src/com/ibm/wala/cast/java/ipa/slicer/AstJavaSlicer.java b/com.ibm.wala.cast.java/src/com/ibm/wala/cast/java/ipa/slicer/AstJavaSlicer.java index f7476f433..6352142b6 100644 --- a/com.ibm.wala.cast.java/src/com/ibm/wala/cast/java/ipa/slicer/AstJavaSlicer.java +++ b/com.ibm.wala.cast.java/src/com/ibm/wala/cast/java/ipa/slicer/AstJavaSlicer.java @@ -39,7 +39,6 @@ import com.ibm.wala.util.Predicate; import com.ibm.wala.util.collections.Pair; import com.ibm.wala.util.graph.traverse.DFS; -@SuppressWarnings("deprecation") public class AstJavaSlicer extends Slicer { /* diff --git a/com.ibm.wala.cast.java/src/com/ibm/wala/cast/java/loader/JavaSourceLoaderImpl.java b/com.ibm.wala.cast.java/src/com/ibm/wala/cast/java/loader/JavaSourceLoaderImpl.java index 95eb9036b..f8640b6ae 100644 --- a/com.ibm.wala.cast.java/src/com/ibm/wala/cast/java/loader/JavaSourceLoaderImpl.java +++ b/com.ibm.wala.cast.java/src/com/ibm/wala/cast/java/loader/JavaSourceLoaderImpl.java @@ -288,15 +288,15 @@ public abstract class JavaSourceLoaderImpl extends ClassLoaderImpl { if (isStatic()) { types = new TypeReference[argCount]; for (int i = 0; i < argCount; i++) { - types[i] = TypeReference.findOrCreate(JavaSourceLoaderImpl.this.getReference(), ((CAstType) type.getArgumentTypes() - .get(i)).getName()); + types[i] = TypeReference.findOrCreate(JavaSourceLoaderImpl.this.getReference(), type.getArgumentTypes() + .get(i).getName()); } } else { types = new TypeReference[argCount + 1]; types[0] = cls.getReference(); for (int i = 0; i < argCount; i++) { - types[i + 1] = TypeReference.findOrCreate(JavaSourceLoaderImpl.this.getReference(), ((CAstType) type.getArgumentTypes() - .get(i)).getName()); + types[i + 1] = TypeReference.findOrCreate(JavaSourceLoaderImpl.this.getReference(), type.getArgumentTypes() + .get(i).getName()); } } diff --git a/com.ibm.wala.cast.js.html.nu_validator/META-INF/MANIFEST.MF b/com.ibm.wala.cast.js.html.nu_validator/META-INF/MANIFEST.MF index e4c89896b..d38208fec 100644 --- a/com.ibm.wala.cast.js.html.nu_validator/META-INF/MANIFEST.MF +++ b/com.ibm.wala.cast.js.html.nu_validator/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Nu_validator Bundle-SymbolicName: com.ibm.wala.cast.js.html.nu_validator -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Export-Package: com.ibm.wala.cast.js.html.nu_validator Require-Bundle: com.ibm.wala.cast.js;bundle-version="1.0.0", com.ibm.wala.cast.js.rhino.test;bundle-version="1.0.0", diff --git a/com.ibm.wala.cast.js.html.nu_validator/pom.xml b/com.ibm.wala.cast.js.html.nu_validator/pom.xml index fa3e70769..6c88a9787 100644 --- a/com.ibm.wala.cast.js.html.nu_validator/pom.xml +++ b/com.ibm.wala.cast.js.html.nu_validator/pom.xml @@ -5,7 +5,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.cast.js.html.nu_validator eclipse-plugin diff --git a/com.ibm.wala.cast.js.nodejs.test/META-INF/MANIFEST.MF b/com.ibm.wala.cast.js.nodejs.test/META-INF/MANIFEST.MF index 9c6fee78b..d3b5bab87 100644 --- a/com.ibm.wala.cast.js.nodejs.test/META-INF/MANIFEST.MF +++ b/com.ibm.wala.cast.js.nodejs.test/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Test Bundle-SymbolicName: com.ibm.wala.cast.js.nodejs.test -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Export-Package: NodejsRequireJsonTest, NodejsRequireTargetSelectorResolve, NodejsRequireTargetSelectorResolve.requireDynamic, diff --git a/com.ibm.wala.cast.js.nodejs.test/pom.xml b/com.ibm.wala.cast.js.nodejs.test/pom.xml index 70b697b94..87f7c0106 100644 --- a/com.ibm.wala.cast.js.nodejs.test/pom.xml +++ b/com.ibm.wala.cast.js.nodejs.test/pom.xml @@ -5,7 +5,7 @@ com.ibm.wala WALA - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.cast.js.nodejs.test eclipse-plugin diff --git a/com.ibm.wala.cast.js.nodejs/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.cast.js.nodejs/.settings/org.eclipse.jdt.core.prefs index 3b12548d6..8a172cbaa 100644 --- a/com.ibm.wala.cast.js.nodejs/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.cast.js.nodejs/.settings/org.eclipse.jdt.core.prefs @@ -54,6 +54,7 @@ org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=no_tag org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public diff --git a/com.ibm.wala.cast.js.nodejs/META-INF/MANIFEST.MF b/com.ibm.wala.cast.js.nodejs/META-INF/MANIFEST.MF index 6d566c7ce..46740abf2 100644 --- a/com.ibm.wala.cast.js.nodejs/META-INF/MANIFEST.MF +++ b/com.ibm.wala.cast.js.nodejs/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Nodejs Bundle-SymbolicName: com.ibm.wala.cast.js.nodejs -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Export-Package: com.ibm.wala.cast.js.nodejs Require-Bundle: com.ibm.wala.cast.js;bundle-version="1.3.10", com.ibm.wala.cast.js.rhino;bundle-version="1.3.10" diff --git a/com.ibm.wala.cast.js.nodejs/pom.xml b/com.ibm.wala.cast.js.nodejs/pom.xml index 5900d1ecf..e9509410e 100644 --- a/com.ibm.wala.cast.js.nodejs/pom.xml +++ b/com.ibm.wala.cast.js.nodejs/pom.xml @@ -5,7 +5,7 @@ com.ibm.wala WALA - 1.4.1-SNAPSHOT + 1.4.1 eclipse-plugin com.ibm.wala.cast.js.nodejs diff --git a/com.ibm.wala.cast.js.rhino.test/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.cast.js.rhino.test/.settings/org.eclipse.jdt.core.prefs index 5f809a485..43751e479 100644 --- a/com.ibm.wala.cast.js.rhino.test/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.cast.js.rhino.test/.settings/org.eclipse.jdt.core.prefs @@ -38,6 +38,7 @@ org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public @@ -65,6 +66,7 @@ org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore org.eclipse.jdt.core.compiler.problem.unusedImport=warning org.eclipse.jdt.core.compiler.problem.unusedLabel=warning org.eclipse.jdt.core.compiler.problem.unusedLocal=warning diff --git a/com.ibm.wala.cast.js.rhino.test/META-INF/MANIFEST.MF b/com.ibm.wala.cast.js.rhino.test/META-INF/MANIFEST.MF index 4749b82c1..4f23ea0d1 100644 --- a/com.ibm.wala.cast.js.rhino.test/META-INF/MANIFEST.MF +++ b/com.ibm.wala.cast.js.rhino.test/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Test Plug-in Bundle-SymbolicName: com.ibm.wala.cast.js.rhino.test -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Vendor: IBM Require-Bundle: com.ibm.wala.cast.js.rhino;bundle-version="1.0.0", com.ibm.wala.cast.js;bundle-version="1.0.0", diff --git a/com.ibm.wala.cast.js.rhino.test/pom.xml b/com.ibm.wala.cast.js.rhino.test/pom.xml index f51c0c19e..e9ac8be64 100644 --- a/com.ibm.wala.cast.js.rhino.test/pom.xml +++ b/com.ibm.wala.cast.js.rhino.test/pom.xml @@ -5,7 +5,7 @@ com.ibm.wala WALA - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.cast.js.rhino.test eclipse-plugin diff --git a/com.ibm.wala.cast.js.rhino/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.cast.js.rhino/.settings/org.eclipse.jdt.core.prefs index 5f809a485..6f548f01a 100644 --- a/com.ibm.wala.cast.js.rhino/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.cast.js.rhino/.settings/org.eclipse.jdt.core.prefs @@ -38,6 +38,7 @@ org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public diff --git a/com.ibm.wala.cast.js.rhino/META-INF/MANIFEST.MF b/com.ibm.wala.cast.js.rhino/META-INF/MANIFEST.MF index 00bbc607c..010b1fa11 100644 --- a/com.ibm.wala.cast.js.rhino/META-INF/MANIFEST.MF +++ b/com.ibm.wala.cast.js.rhino/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Rhino Plug-in Bundle-SymbolicName: com.ibm.wala.cast.js.rhino -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Vendor: IBM Require-Bundle: com.ibm.wala.cast;bundle-version="1.0.0", com.ibm.wala.cast.js;bundle-version="1.0.0", diff --git a/com.ibm.wala.cast.js.rhino/mvncentral.xml b/com.ibm.wala.cast.js.rhino/mvncentral.xml index a80f44654..b2b394b73 100644 --- a/com.ibm.wala.cast.js.rhino/mvncentral.xml +++ b/com.ibm.wala.cast.js.rhino/mvncentral.xml @@ -5,7 +5,7 @@ 4.0.0 com.ibm.wala com.ibm.wala.cast.js.rhino - 1.4.1-SNAPSHOT + 1.4.1 jar WALA CAst JS Rhino WALA JS Rhino adapter @@ -45,17 +45,17 @@ com.ibm.wala com.ibm.wala.core - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala com.ibm.wala.cast - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala com.ibm.wala.cast.js - 1.4.1-SNAPSHOT + 1.4.1 org.mozilla diff --git a/com.ibm.wala.cast.js.rhino/pom.xml b/com.ibm.wala.cast.js.rhino/pom.xml index 0d81ffde6..fbf5e4f1c 100644 --- a/com.ibm.wala.cast.js.rhino/pom.xml +++ b/com.ibm.wala.cast.js.rhino/pom.xml @@ -6,7 +6,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.cast.js.rhino eclipse-plugin diff --git a/com.ibm.wala.cast.js.rhino/source/com/ibm/wala/cast/js/translator/CAstRhinoTranslator.java b/com.ibm.wala.cast.js.rhino/source/com/ibm/wala/cast/js/translator/CAstRhinoTranslator.java index 410ae8eb5..53216dfa9 100644 --- a/com.ibm.wala.cast.js.rhino/source/com/ibm/wala/cast/js/translator/CAstRhinoTranslator.java +++ b/com.ibm.wala.cast.js.rhino/source/com/ibm/wala/cast/js/translator/CAstRhinoTranslator.java @@ -11,11 +11,10 @@ package com.ibm.wala.cast.js.translator; import com.ibm.wala.cast.ir.translator.RewritingTranslatorToCAst; -import com.ibm.wala.cast.ir.translator.TranslatorToCAst; import com.ibm.wala.cast.tree.impl.CAstImpl; import com.ibm.wala.classLoader.ModuleEntry; -public class CAstRhinoTranslator extends RewritingTranslatorToCAst implements TranslatorToCAst { +public class CAstRhinoTranslator extends RewritingTranslatorToCAst { public CAstRhinoTranslator(ModuleEntry m, boolean replicateForDoLoops) { super(m, new RhinoToAstTranslator(new CAstImpl(), m, m.getName(), replicateForDoLoops)); } diff --git a/com.ibm.wala.cast.js.test.data/META-INF/MANIFEST.MF b/com.ibm.wala.cast.js.test.data/META-INF/MANIFEST.MF index 38bb6b0f7..23e471062 100644 --- a/com.ibm.wala.cast.js.test.data/META-INF/MANIFEST.MF +++ b/com.ibm.wala.cast.js.test.data/META-INF/MANIFEST.MF @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2 Eclipse-LazyStart: true Bundle-Name: %pluginName Bundle-SymbolicName: com.ibm.wala.cast.js.test.data;singleton:=true -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Vendor: %providerName Bundle-ActivationPolicy: lazy Bundle-ClassPath: examples-src/ diff --git a/com.ibm.wala.cast.js.test.data/pom.xml b/com.ibm.wala.cast.js.test.data/pom.xml index 4df142bea..83d1ebb49 100644 --- a/com.ibm.wala.cast.js.test.data/pom.xml +++ b/com.ibm.wala.cast.js.test.data/pom.xml @@ -5,7 +5,7 @@ com.ibm.wala WALA - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.cast.js.test.data eclipse-plugin diff --git a/com.ibm.wala.cast.js.test/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.cast.js.test/.settings/org.eclipse.jdt.core.prefs index b01c06206..becf2a4a9 100644 --- a/com.ibm.wala.cast.js.test/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.cast.js.test/.settings/org.eclipse.jdt.core.prefs @@ -66,6 +66,7 @@ org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore org.eclipse.jdt.core.compiler.problem.unusedImport=warning org.eclipse.jdt.core.compiler.problem.unusedLabel=warning org.eclipse.jdt.core.compiler.problem.unusedLocal=warning diff --git a/com.ibm.wala.cast.js.test/META-INF/MANIFEST.MF b/com.ibm.wala.cast.js.test/META-INF/MANIFEST.MF index d0d8e8e42..85cdcb19a 100644 --- a/com.ibm.wala.cast.js.test/META-INF/MANIFEST.MF +++ b/com.ibm.wala.cast.js.test/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: WALA JavaScript Test Plug-in Bundle-SymbolicName: com.ibm.wala.cast.js.test -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Vendor: IBM Require-Bundle: com.ibm.wala.cast.js, com.ibm.wala.cast, diff --git a/com.ibm.wala.cast.js.test/harness-src/com/ibm/wala/cast/js/test/TestJavaScriptSlicer.java b/com.ibm.wala.cast.js.test/harness-src/com/ibm/wala/cast/js/test/TestJavaScriptSlicer.java index c2b30d2a2..e2658490b 100644 --- a/com.ibm.wala.cast.js.test/harness-src/com/ibm/wala/cast/js/test/TestJavaScriptSlicer.java +++ b/com.ibm.wala.cast.js.test/harness-src/com/ibm/wala/cast/js/test/TestJavaScriptSlicer.java @@ -23,7 +23,6 @@ import com.ibm.wala.classLoader.CallSiteReference; import com.ibm.wala.core.tests.slicer.SlicerTest; import com.ibm.wala.ipa.callgraph.CGNode; import com.ibm.wala.ipa.callgraph.CallGraph; -import com.ibm.wala.ipa.callgraph.propagation.InstanceKey; import com.ibm.wala.ipa.slicer.NormalStatement; import com.ibm.wala.ipa.slicer.SDG; import com.ibm.wala.ipa.slicer.Slicer; diff --git a/com.ibm.wala.cast.js.test/pom.xml b/com.ibm.wala.cast.js.test/pom.xml index 3c21f6a5a..a6e7c5270 100644 --- a/com.ibm.wala.cast.js.test/pom.xml +++ b/com.ibm.wala.cast.js.test/pom.xml @@ -5,7 +5,7 @@ com.ibm.wala WALA - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.cast.js.test eclipse-plugin diff --git a/com.ibm.wala.cast.js/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.cast.js/.settings/org.eclipse.jdt.core.prefs index b01c06206..8aeef4bad 100644 --- a/com.ibm.wala.cast.js/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.cast.js/.settings/org.eclipse.jdt.core.prefs @@ -30,7 +30,7 @@ org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=disabled -org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=disabled org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=public org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning @@ -38,6 +38,7 @@ org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=no_tag org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public @@ -66,6 +67,7 @@ org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore org.eclipse.jdt.core.compiler.problem.unusedImport=warning org.eclipse.jdt.core.compiler.problem.unusedLabel=warning org.eclipse.jdt.core.compiler.problem.unusedLocal=warning diff --git a/com.ibm.wala.cast.js/META-INF/MANIFEST.MF b/com.ibm.wala.cast.js/META-INF/MANIFEST.MF index 70bfe4f29..23d2d8e67 100644 --- a/com.ibm.wala.cast.js/META-INF/MANIFEST.MF +++ b/com.ibm.wala.cast.js/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: JavaScript Plug-in Bundle-SymbolicName: com.ibm.wala.cast.js;singleton:=true -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-ClassPath: ., lib/jericho-html-3.2.jar Bundle-Vendor: IBM diff --git a/com.ibm.wala.cast.js/mvncentral.xml b/com.ibm.wala.cast.js/mvncentral.xml index 5cc53ee26..b78eeba65 100644 --- a/com.ibm.wala.cast.js/mvncentral.xml +++ b/com.ibm.wala.cast.js/mvncentral.xml @@ -5,7 +5,7 @@ 4.0.0 com.ibm.wala com.ibm.wala.cast.js - 1.4.1-SNAPSHOT + 1.4.1 jar WALA CAst JS WALA JS frontend @@ -45,17 +45,17 @@ com.ibm.wala com.ibm.wala.core - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala com.ibm.wala.shrike - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala com.ibm.wala.cast - 1.4.1-SNAPSHOT + 1.4.1 net.htmlparser.jericho diff --git a/com.ibm.wala.cast.js/pom.xml b/com.ibm.wala.cast.js/pom.xml index bbfd65268..7649e6f4b 100644 --- a/com.ibm.wala.cast.js/pom.xml +++ b/com.ibm.wala.cast.js/pom.xml @@ -6,7 +6,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala com.ibm.wala.cast.js diff --git a/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/callgraph/fieldbased/FieldBasedCallGraphBuilder.java b/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/callgraph/fieldbased/FieldBasedCallGraphBuilder.java index 9bcc40c79..e39def2fb 100644 --- a/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/callgraph/fieldbased/FieldBasedCallGraphBuilder.java +++ b/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/callgraph/fieldbased/FieldBasedCallGraphBuilder.java @@ -138,7 +138,6 @@ public abstract class FieldBasedCallGraphBuilder { /** * Extract a call graph from a given flow graph. */ - @SuppressWarnings("deprecation") public JSCallGraph extract(FlowGraph flowgraph, Iterable eps, IProgressMonitor monitor) throws CancelException { DelegatingSSAContextInterpreter interpreter = new DelegatingSSAContextInterpreter(new AstContextInsensitiveSSAContextInterpreter(options, cache), new DefaultSSAInterpreter(options, cache)); return extract(interpreter, flowgraph, eps, monitor); diff --git a/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ipa/callgraph/JSCallGraphUtil.java b/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ipa/callgraph/JSCallGraphUtil.java index 946befa9a..7a314c1a8 100755 --- a/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ipa/callgraph/JSCallGraphUtil.java +++ b/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ipa/callgraph/JSCallGraphUtil.java @@ -240,7 +240,7 @@ public class JSCallGraphUtil extends com.ibm.wala.cast.ipa.callgraph.CAstCallGra return (String)v; } else if (v instanceof Double) { String result = v.toString(); - if (((double) Math.round((Double)v)) == ((Double)v).doubleValue()) { + if ((Math.round((Double)v)) == ((Double)v).doubleValue()) { result = Long.toString(Math.round((Double)v)); } return result; @@ -255,7 +255,7 @@ public class JSCallGraphUtil extends com.ibm.wala.cast.ipa.callgraph.CAstCallGra } } - public static class Bootstrap implements SourceModule, Module, ModuleEntry { + public static class Bootstrap implements SourceModule { private String name; private InputStream stream; private final URL url; diff --git a/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ipa/callgraph/JSSSAPropagationCallGraphBuilder.java b/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ipa/callgraph/JSSSAPropagationCallGraphBuilder.java index b9600fb76..148d5618b 100755 --- a/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ipa/callgraph/JSSSAPropagationCallGraphBuilder.java +++ b/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ipa/callgraph/JSSSAPropagationCallGraphBuilder.java @@ -107,6 +107,7 @@ import com.ibm.wala.util.strings.Atom; * reference to a global named {@link #GLOBAL_OBJ_VAR_NAME}, which is handled * specially in {@link JSConstraintVisitor#visitAstGlobalRead(AstGlobalRead)}. */ +@SuppressWarnings("javadoc") public class JSSSAPropagationCallGraphBuilder extends AstSSAPropagationCallGraphBuilder { public static final boolean DEBUG_LEXICAL = false; diff --git a/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ipa/callgraph/JavaScriptFunctionApplyContextSelector.java b/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ipa/callgraph/JavaScriptFunctionApplyContextSelector.java index 52c9a8bbe..735f32a85 100644 --- a/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ipa/callgraph/JavaScriptFunctionApplyContextSelector.java +++ b/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ipa/callgraph/JavaScriptFunctionApplyContextSelector.java @@ -73,7 +73,6 @@ public class JavaScriptFunctionApplyContextSelector implements ContextSelector { */ private final ContextItem.Value isNonNullArray; - @SuppressWarnings("unchecked") ApplyContext(Context delegate, boolean isNonNullArray) { this.delegate = delegate; this.isNonNullArray = ContextItem.Value.make(isNonNullArray); diff --git a/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/loader/JavaScriptLoader.java b/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/loader/JavaScriptLoader.java index 39066398e..389ae075e 100755 --- a/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/loader/JavaScriptLoader.java +++ b/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/loader/JavaScriptLoader.java @@ -653,7 +653,6 @@ public class JavaScriptLoader extends CAstAbstractModuleLoader { return JavaScriptTypes.String; } - @SuppressWarnings("static-access") @Override public PrimitiveType getPrimitive(TypeReference reference) { return PrimitiveType.getPrimitive(reference); diff --git a/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ssa/JavaScriptPropertyRead.java b/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ssa/JavaScriptPropertyRead.java index e95a1288f..c518eb3c2 100644 --- a/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ssa/JavaScriptPropertyRead.java +++ b/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ssa/JavaScriptPropertyRead.java @@ -49,7 +49,7 @@ public class JavaScriptPropertyRead extends AbstractReflectiveGet { /** /* (non-Javadoc) - * @see com.ibm.domo.ssa.SSAInstruction#visit(com.ibm.domo.ssa.SSAInstruction.Visitor) + * @see com.ibm.wala.ssa.SSAInstruction#visit(com.ibm.wala.ssa.SSAInstruction.IVisitor) */ @Override public void visit(IVisitor v) { diff --git a/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ssa/JavaScriptPropertyWrite.java b/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ssa/JavaScriptPropertyWrite.java index 8b0e1d4b6..892c7ef47 100644 --- a/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ssa/JavaScriptPropertyWrite.java +++ b/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ssa/JavaScriptPropertyWrite.java @@ -36,7 +36,7 @@ public class JavaScriptPropertyWrite extends AbstractReflectivePut { } /** - * @see com.ibm.domo.ssa.Instruction#visit(Visitor) + * @see com.ibm.wala.ssa.SSAInstruction#visit(IVisitor) */ @Override public void visit(IVisitor v) { diff --git a/com.ibm.wala.cast.test/META-INF/MANIFEST.MF b/com.ibm.wala.cast.test/META-INF/MANIFEST.MF index 1c601a2d7..3454c7b88 100644 --- a/com.ibm.wala.cast.test/META-INF/MANIFEST.MF +++ b/com.ibm.wala.cast.test/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: CAst Test Plug-in Bundle-SymbolicName: com.ibm.wala.cast.test -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Vendor: IBM Require-Bundle: org.junit;bundle-version="4.0.0", diff --git a/com.ibm.wala.cast.test/pom.xml b/com.ibm.wala.cast.test/pom.xml index 7b0f814d5..3a888cc2e 100644 --- a/com.ibm.wala.cast.test/pom.xml +++ b/com.ibm.wala.cast.test/pom.xml @@ -5,7 +5,7 @@ com.ibm.wala WALA - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.cast.test eclipse-plugin diff --git a/com.ibm.wala.cast/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.cast/.settings/org.eclipse.jdt.core.prefs index b01c06206..8aeef4bad 100644 --- a/com.ibm.wala.cast/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.cast/.settings/org.eclipse.jdt.core.prefs @@ -30,7 +30,7 @@ org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=disabled -org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=disabled org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=public org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning @@ -38,6 +38,7 @@ org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=no_tag org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public @@ -66,6 +67,7 @@ org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore org.eclipse.jdt.core.compiler.problem.unusedImport=warning org.eclipse.jdt.core.compiler.problem.unusedLabel=warning org.eclipse.jdt.core.compiler.problem.unusedLocal=warning diff --git a/com.ibm.wala.cast/META-INF/MANIFEST.MF b/com.ibm.wala.cast/META-INF/MANIFEST.MF index 64e958ecd..83c115c9e 100644 --- a/com.ibm.wala.cast/META-INF/MANIFEST.MF +++ b/com.ibm.wala.cast/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: WALA CAst core Plug-in Bundle-SymbolicName: com.ibm.wala.cast -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Vendor: IBM Require-Bundle: com.ibm.wala.core, com.ibm.wala.shrike diff --git a/com.ibm.wala.cast/mvncentral.xml b/com.ibm.wala.cast/mvncentral.xml index 66f490e4c..ae5e9065f 100644 --- a/com.ibm.wala.cast/mvncentral.xml +++ b/com.ibm.wala.cast/mvncentral.xml @@ -5,7 +5,7 @@ 4.0.0 com.ibm.wala com.ibm.wala.cast - 1.4.1-SNAPSHOT + 1.4.1 jar WALA CAst WALA Common AST core library @@ -45,12 +45,12 @@ com.ibm.wala com.ibm.wala.core - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala com.ibm.wala.shrike - 1.4.1-SNAPSHOT + 1.4.1 commons-io diff --git a/com.ibm.wala.cast/pom.xml b/com.ibm.wala.cast/pom.xml index df71020ff..f35101a48 100644 --- a/com.ibm.wala.cast/pom.xml +++ b/com.ibm.wala.cast/pom.xml @@ -5,7 +5,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.cast eclipse-plugin diff --git a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ipa/callgraph/AstSSAPropagationCallGraphBuilder.java b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ipa/callgraph/AstSSAPropagationCallGraphBuilder.java index e62fd1b18..969dfda4d 100644 --- a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ipa/callgraph/AstSSAPropagationCallGraphBuilder.java +++ b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ipa/callgraph/AstSSAPropagationCallGraphBuilder.java @@ -613,7 +613,7 @@ public abstract class AstSSAPropagationCallGraphBuilder extends SSAPropagationCa * perform the necessary {@link #action(PointerKey, int)}s for the * accesses. For each access, we determine the possible {@link CGNode}s * corresponding to its definer (see - * {@link AstConstraintVisitor#getLexicalDefiners(CGNode, String)). Handle + * {@link AstConstraintVisitor#getLexicalDefiners(CGNode, String)}). Handle * using * {@link AstConstraintVisitor#handleRootLexicalReference(String, String, CGNode)} * . diff --git a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ipa/callgraph/GlobalObjectKey.java b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ipa/callgraph/GlobalObjectKey.java index 83fc9c1ea..d96b467ef 100644 --- a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ipa/callgraph/GlobalObjectKey.java +++ b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ipa/callgraph/GlobalObjectKey.java @@ -25,6 +25,7 @@ import com.ibm.wala.util.collections.Pair; * * @see JSSSAPropagationCallGraphBuilder */ +@SuppressWarnings("javadoc") public class GlobalObjectKey implements InstanceKey { private final IClass concreteType; diff --git a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ipa/callgraph/ScopeMappingInstanceKeys.java b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ipa/callgraph/ScopeMappingInstanceKeys.java index 259acba4a..da48c6b33 100644 --- a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ipa/callgraph/ScopeMappingInstanceKeys.java +++ b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ipa/callgraph/ScopeMappingInstanceKeys.java @@ -89,7 +89,6 @@ abstract public class ScopeMappingInstanceKeys implements InstanceKeyFactory { * get the CGNode representing the lexical parent of {@link #creator} with * name definer * - * @param definer * @return */ public Iterator getFunargNodes(Pair name) { diff --git a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/AbstractReflectiveGet.java b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/AbstractReflectiveGet.java index a658fcb4e..566daa70e 100644 --- a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/AbstractReflectiveGet.java +++ b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/AbstractReflectiveGet.java @@ -34,7 +34,7 @@ public abstract class AbstractReflectiveGet extends ReflectiveMemberAccess { } /** - * @see com.ibm.wala.ssa.Instruction#getDef() + * @see com.ibm.wala.ssa.SSAInstruction#getDef() */ @Override public boolean hasDef() { @@ -52,7 +52,7 @@ public abstract class AbstractReflectiveGet extends ReflectiveMemberAccess { } /** - * @see com.ibm.wala.ssa.Instruction#getNumberOfUses() + * @see com.ibm.wala.ssa.SSAInstruction#getNumberOfUses() */ @Override public int getNumberOfUses() { diff --git a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/AbstractReflectivePut.java b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/AbstractReflectivePut.java index 25758f9a0..9e5b76bc7 100644 --- a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/AbstractReflectivePut.java +++ b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/AbstractReflectivePut.java @@ -34,7 +34,7 @@ public abstract class AbstractReflectivePut extends ReflectiveMemberAccess { } /** - * @see com.ibm.wala.ssa.Instruction#getDef() + * @see com.ibm.wala.ssa.SSAInstruction#getDef() */ @Override public int getDef() { @@ -42,7 +42,7 @@ public abstract class AbstractReflectivePut extends ReflectiveMemberAccess { } /** - * @see com.ibm.wala.ssa.Instruction#getNumberOfUses() + * @see com.ibm.wala.ssa.SSAInstruction#getNumberOfUses() */ @Override public int getNumberOfUses() { diff --git a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/analysis/LiveAnalysis.java b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/analysis/LiveAnalysis.java index 9d77b9b09..2aba02a0c 100644 --- a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/analysis/LiveAnalysis.java +++ b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/analysis/LiveAnalysis.java @@ -297,11 +297,10 @@ public class LiveAnalysis { } /** - * Calculate set of variables live before instruction - * @param instr + * Calculate set of variables live before instruction {@code instr}. * * @see - * how the 'in' and 'out' variable sets work + * how the "in" and "out" variable sets work */ @Override public BitVector getLiveBefore(int instr) { diff --git a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/translator/AstTranslator.java b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/translator/AstTranslator.java index a6c66d4ba..f4bb25b67 100644 --- a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/translator/AstTranslator.java +++ b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/translator/AstTranslator.java @@ -84,7 +84,6 @@ import com.ibm.wala.util.collections.HashSetFactory; import com.ibm.wala.util.collections.MapUtil; import com.ibm.wala.util.collections.Pair; import com.ibm.wala.util.debug.Assertions; -import com.ibm.wala.util.graph.INodeWithNumber; import com.ibm.wala.util.graph.impl.SparseNumberedGraph; import com.ibm.wala.util.graph.traverse.DFS; import com.ibm.wala.util.intset.IntSet; @@ -545,7 +544,7 @@ public abstract class AstTranslator extends CAstVisitor { + protected final static class PreBasicBlock implements IBasicBlock { private static final int NORMAL = 0; private static final int HANDLER = 1; @@ -2831,7 +2830,6 @@ public abstract class AstTranslator extends CAstVisitor, Integer>> exposedNamesForReadSet, Set, Integer>> exposedNamesForWriteSet, Set accesses) { diff --git a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/tree/impl/RangePosition.java b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/tree/impl/RangePosition.java index 4db10330f..638b5d22a 100644 --- a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/tree/impl/RangePosition.java +++ b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/tree/impl/RangePosition.java @@ -17,7 +17,7 @@ import java.net.URL; import com.ibm.wala.cast.tree.CAstSourcePositionMap.Position; -public class RangePosition extends AbstractSourcePosition implements Position { +public class RangePosition extends AbstractSourcePosition { private final URL url; private final int startLine; private final int endLine; diff --git a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/tree/rewrite/CAstRewriter.java b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/tree/rewrite/CAstRewriter.java index c493ec21a..3de8e51ff 100644 --- a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/tree/rewrite/CAstRewriter.java +++ b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/tree/rewrite/CAstRewriter.java @@ -47,7 +47,7 @@ import com.ibm.wala.util.collections.Pair; * a key used to ease cloning of partial ASTs. When rewriting an AST, * sub-classes maintain a mapping from (original node, key) pairs * (where key is of type K) to new nodes; see - * {@link #copyNodes(CAstNode, RewriteContext, Map)} + * {@link #copyNodes} */ public abstract class CAstRewriter, K extends CAstRewriter.CopyKey> { diff --git a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/tree/visit/CAstVisitor.java b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/tree/visit/CAstVisitor.java index 43c1870c5..e90a83dfe 100644 --- a/com.ibm.wala.cast/source/java/com/ibm/wala/cast/tree/visit/CAstVisitor.java +++ b/com.ibm.wala.cast/source/java/com/ibm/wala/cast/tree/visit/CAstVisitor.java @@ -123,7 +123,6 @@ public abstract class CAstVisitor { * Visit scoped entities of an entity using a given iterator. * Prerequisite (unchecked): i iterates over entities scoped in n. * @param n the parent entity of the entities to process - * @param i the iterator over some scoped entities of n * @param context a visitor-specific context */ public final void visitScopedEntities(CAstEntity n, Map allScopedEntities, C context, CAstVisitor visitor) { @@ -1723,7 +1722,6 @@ public abstract class CAstVisitor { * Visit an InstanceOf node. * @param n the node to process * @param c a visitor-specific context - * @return true if no further processing is needed */ protected void leaveAssert(CAstNode n, C c, CAstVisitor visitor) { visitor.leaveNode(n, c, visitor); } protected boolean visitAssert(CAstNode n, C c, CAstVisitor visitor) { return visitor.visitNode(n, c, visitor); } diff --git a/com.ibm.wala.core.testdata/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.core.testdata/.settings/org.eclipse.jdt.core.prefs index fab0ce24f..fa71416eb 100644 --- a/com.ibm.wala.core.testdata/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.core.testdata/.settings/org.eclipse.jdt.core.prefs @@ -50,6 +50,7 @@ org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public @@ -94,6 +95,7 @@ org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore org.eclipse.jdt.core.compiler.problem.unusedImport=warning org.eclipse.jdt.core.compiler.problem.unusedLabel=warning org.eclipse.jdt.core.compiler.problem.unusedLocal=warning diff --git a/com.ibm.wala.core.testdata/META-INF/MANIFEST.MF b/com.ibm.wala.core.testdata/META-INF/MANIFEST.MF index 05ebf22ee..495c520ad 100644 --- a/com.ibm.wala.core.testdata/META-INF/MANIFEST.MF +++ b/com.ibm.wala.core.testdata/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Testdata Plug-in Bundle-SymbolicName: com.ibm.wala.core.testdata -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Vendor: IBM Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Eclipse-BuddyPolicy: registered diff --git a/com.ibm.wala.core.testdata/pom.xml b/com.ibm.wala.core.testdata/pom.xml index f7b7504a8..f18844207 100644 --- a/com.ibm.wala.core.testdata/pom.xml +++ b/com.ibm.wala.core.testdata/pom.xml @@ -5,7 +5,7 @@ com.ibm.wala WALA - 1.4.1-SNAPSHOT + 1.4.1 eclipse-plugin com.ibm.wala.core.testdata diff --git a/com.ibm.wala.core.testdata/src/reflection/GetMethodContext.java b/com.ibm.wala.core.testdata/src/reflection/GetMethodContext.java index bf6a37d09..a8712494d 100644 --- a/com.ibm.wala.core.testdata/src/reflection/GetMethodContext.java +++ b/com.ibm.wala.core.testdata/src/reflection/GetMethodContext.java @@ -18,6 +18,7 @@ import java.lang.reflect.Method; * A test targeting the {@link com.ibm.wala.analysis.reflection.GetMethodContext}. * @author Michael Heilmann */ +@SuppressWarnings("javadoc") public class GetMethodContext { public static class A { diff --git a/com.ibm.wala.core.testdata/src/slice/Slice6.java b/com.ibm.wala.core.testdata/src/slice/Slice6.java index da021d6a5..94f73ee38 100644 --- a/com.ibm.wala.core.testdata/src/slice/Slice6.java +++ b/com.ibm.wala.core.testdata/src/slice/Slice6.java @@ -20,7 +20,7 @@ public class Slice6 { messages = new Vector(); messages.add(5); - int message = (Integer) messages.elementAt(0); + int message = messages.elementAt(0); sendMessage(message); } diff --git a/com.ibm.wala.core.tests/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.core.tests/.settings/org.eclipse.jdt.core.prefs index b01c06206..5d928e964 100644 --- a/com.ibm.wala.core.tests/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.core.tests/.settings/org.eclipse.jdt.core.prefs @@ -38,6 +38,7 @@ org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public @@ -66,6 +67,7 @@ org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore org.eclipse.jdt.core.compiler.problem.unusedImport=warning org.eclipse.jdt.core.compiler.problem.unusedLabel=warning org.eclipse.jdt.core.compiler.problem.unusedLocal=warning diff --git a/com.ibm.wala.core.tests/META-INF/MANIFEST.MF b/com.ibm.wala.core.tests/META-INF/MANIFEST.MF index de932cf0a..5e6c4a14b 100644 --- a/com.ibm.wala.core.tests/META-INF/MANIFEST.MF +++ b/com.ibm.wala.core.tests/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: com.ibm.wala.core.tests;singleton:=true -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Vendor: %providerName Require-Bundle: com.ibm.wala.shrike, com.ibm.wala.core, diff --git a/com.ibm.wala.core.tests/pom.xml b/com.ibm.wala.core.tests/pom.xml index a1fd5da59..b25af29a2 100644 --- a/com.ibm.wala.core.tests/pom.xml +++ b/com.ibm.wala.core.tests/pom.xml @@ -5,7 +5,7 @@ com.ibm.wala WALA - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.core.tests eclipse-plugin diff --git a/com.ibm.wala.core.tests/src/com/ibm/wala/core/tests/callGraph/ReflectionTest.java b/com.ibm.wala.core.tests/src/com/ibm/wala/core/tests/callGraph/ReflectionTest.java index 61136b2bf..fc14e95c3 100644 --- a/com.ibm.wala.core.tests/src/com/ibm/wala/core/tests/callGraph/ReflectionTest.java +++ b/com.ibm.wala.core.tests/src/com/ibm/wala/core/tests/callGraph/ReflectionTest.java @@ -585,7 +585,7 @@ public class ReflectionTest extends WalaTestCase { /** * Test that when analyzing Reflect21, the call graph includes a node for the - * constructor of {@link Helper} that takes two {@link Object} parameters. + * constructor of {@code Helper} that takes two {@link Object} parameters. * This is to test the support for Class.getDeclaredConstructor. */ @Test @@ -604,7 +604,7 @@ public class ReflectionTest extends WalaTestCase { /** * Test that when analyzing Reflect22, the call graph includes a node for the - * constructor of {@link Helper} that takes one {@link Integer} parameters. + * constructor of {@code Helper} that takes one {@link Integer} parameters. * This is to test the support for Class.getDeclaredConstructors. */ @Test @@ -623,7 +623,7 @@ public class ReflectionTest extends WalaTestCase { /** * Test that when analyzing Reflect22, the call graph includes a node for the - * constructor of {@link Helper} that takes one {@link Integer} parameters. + * constructor of {@code Helper} that takes one {@link Integer} parameters. * This is to test the support for Class.getDeclaredConstructors. */ @Test diff --git a/com.ibm.wala.core.tests/src/com/ibm/wala/examples/analysis/dataflow/ContextInsensitiveReachingDefs.java b/com.ibm.wala.core.tests/src/com/ibm/wala/examples/analysis/dataflow/ContextInsensitiveReachingDefs.java index ff947eb78..d65f7c701 100644 --- a/com.ibm.wala.core.tests/src/com/ibm/wala/examples/analysis/dataflow/ContextInsensitiveReachingDefs.java +++ b/com.ibm.wala.core.tests/src/com/ibm/wala/examples/analysis/dataflow/ContextInsensitiveReachingDefs.java @@ -77,7 +77,6 @@ public class ContextInsensitiveReachingDefs { /** * generate a numbering of the putstatic instructions */ - @SuppressWarnings("unchecked") private OrdinalSetMapping> numberPutStatics() { ArrayList> putInstrs = new ArrayList<>(); for (CGNode node : icfg.getCallGraph()) { diff --git a/com.ibm.wala.core.tests/src/com/ibm/wala/examples/drivers/PDFCallGraph.java b/com.ibm.wala.core.tests/src/com/ibm/wala/examples/drivers/PDFCallGraph.java index 49401477d..e8a41f89d 100644 --- a/com.ibm.wala.core.tests/src/com/ibm/wala/examples/drivers/PDFCallGraph.java +++ b/com.ibm.wala.core.tests/src/com/ibm/wala/examples/drivers/PDFCallGraph.java @@ -56,7 +56,7 @@ public class PDFCallGraph { Collection result = HashSetFactory.make(); for (int i = 0; i < directories.length; i++) { for (Iterator it = FileUtil.listFiles(directories[i], ".*\\.jar", true).iterator(); it.hasNext();) { - File f = (File) it.next(); + File f = it.next(); result.add(f.getAbsolutePath()); } } diff --git a/com.ibm.wala.core/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.core/.settings/org.eclipse.jdt.core.prefs index 2f3bfa840..9082c08c7 100644 --- a/com.ibm.wala.core/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.core/.settings/org.eclipse.jdt.core.prefs @@ -50,7 +50,7 @@ org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=disabled -org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=disabled org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=public org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning @@ -61,6 +61,7 @@ org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public @@ -107,6 +108,7 @@ org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore org.eclipse.jdt.core.compiler.problem.unusedImport=warning org.eclipse.jdt.core.compiler.problem.unusedLabel=warning org.eclipse.jdt.core.compiler.problem.unusedLocal=warning diff --git a/com.ibm.wala.core/META-INF/MANIFEST.MF b/com.ibm.wala.core/META-INF/MANIFEST.MF index dee4ff551..f9c4ea25a 100644 --- a/com.ibm.wala.core/META-INF/MANIFEST.MF +++ b/com.ibm.wala.core/META-INF/MANIFEST.MF @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2 Eclipse-LazyStart: true Bundle-Name: %pluginName Bundle-SymbolicName: com.ibm.wala.core -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Vendor: %providerName Bundle-Localization: plugin Require-Bundle: com.ibm.wala.shrike, diff --git a/com.ibm.wala.core/mvncentral.xml b/com.ibm.wala.core/mvncentral.xml index 7992aad9b..2b28d2459 100644 --- a/com.ibm.wala.core/mvncentral.xml +++ b/com.ibm.wala.core/mvncentral.xml @@ -5,7 +5,7 @@ 4.0.0 com.ibm.wala com.ibm.wala.core - 1.4.1-SNAPSHOT + 1.4.1 jar WALA Core Core WALA analysis libraries @@ -45,12 +45,12 @@ com.ibm.wala com.ibm.wala.util - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala com.ibm.wala.shrike - 1.4.1-SNAPSHOT + 1.4.1 diff --git a/com.ibm.wala.core/pom.xml b/com.ibm.wala.core/pom.xml index a9c0ee9c9..8316fa3ff 100644 --- a/com.ibm.wala.core/pom.xml +++ b/com.ibm.wala.core/pom.xml @@ -5,7 +5,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.core eclipse-plugin diff --git a/com.ibm.wala.core/src/com/ibm/wala/demandpa/util/MemoryAccessMap.java b/com.ibm.wala.core/src/com/ibm/wala/demandpa/util/MemoryAccessMap.java index 461526b70..6112e0941 100644 --- a/com.ibm.wala.core/src/com/ibm/wala/demandpa/util/MemoryAccessMap.java +++ b/com.ibm.wala.core/src/com/ibm/wala/demandpa/util/MemoryAccessMap.java @@ -19,12 +19,12 @@ import com.ibm.wala.ipa.callgraph.propagation.PointerKey; public interface MemoryAccessMap { /** - * @return {@link Collection}<{@link FieldAccess}> + * @return {@link Collection}<{@link MemoryAccess}> */ public Collection getFieldReads(PointerKey baseRef, IField field); /** - * @return {@link Collection}<{@link FieldAccess}> + * @return {@link Collection}<{@link MemoryAccess}> */ public Collection getFieldWrites(PointerKey baseRef, IField field); diff --git a/com.ibm.wala.core/src/com/ibm/wala/escape/FILiveObjectAnalysis.java b/com.ibm.wala.core/src/com/ibm/wala/escape/FILiveObjectAnalysis.java index e19fbacc9..8d10daf4f 100644 --- a/com.ibm.wala.core/src/com/ibm/wala/escape/FILiveObjectAnalysis.java +++ b/com.ibm.wala.core/src/com/ibm/wala/escape/FILiveObjectAnalysis.java @@ -48,7 +48,7 @@ public class FILiveObjectAnalysis implements ILiveObjectAnalysis { /** * Graph view of pointer analysis results */ - private final HeapGraph heapGraph; + private final HeapGraph heapGraph; /** * Cached map from InstanceKey -> Set @@ -68,7 +68,7 @@ public class FILiveObjectAnalysis implements ILiveObjectAnalysis { /** * */ - public FILiveObjectAnalysis(CallGraph callGraph, HeapGraph heapGraph, boolean expensiveIntraproceduralAnalysis) { + public FILiveObjectAnalysis(CallGraph callGraph, HeapGraph heapGraph, boolean expensiveIntraproceduralAnalysis) { super(); this.callGraph = callGraph; this.heapGraph = heapGraph; diff --git a/com.ibm.wala.core/src/com/ibm/wala/ipa/callgraph/CallGraphBuilder.java b/com.ibm.wala.core/src/com/ibm/wala/ipa/callgraph/CallGraphBuilder.java index 7ec222867..218e87007 100644 --- a/com.ibm.wala.core/src/com/ibm/wala/ipa/callgraph/CallGraphBuilder.java +++ b/com.ibm.wala.core/src/com/ibm/wala/ipa/callgraph/CallGraphBuilder.java @@ -25,7 +25,6 @@ public interface CallGraphBuilder { * * @param options an object representing controlling options that the call graph building algorithm needs to know. * @return the built call graph - * @throws */ public CallGraph makeCallGraph(AnalysisOptions options, IProgressMonitor monitor) throws IllegalArgumentException, CallGraphBuilderCancelException; diff --git a/com.ibm.wala.core/src/com/ibm/wala/ipa/summaries/SummarizedMethodWithNames.java b/com.ibm.wala.core/src/com/ibm/wala/ipa/summaries/SummarizedMethodWithNames.java index a637d4b3a..95bcf64f8 100644 --- a/com.ibm.wala.core/src/com/ibm/wala/ipa/summaries/SummarizedMethodWithNames.java +++ b/com.ibm.wala.core/src/com/ibm/wala/ipa/summaries/SummarizedMethodWithNames.java @@ -88,7 +88,7 @@ public class SummarizedMethodWithNames extends SummarizedMethod { throws NullPointerException { super(ref, summary.getMethodSummary(), declaringClass); this.summary = summary.getMethodSummary(); - this.localNames = ((VolatileMethodSummary)summary).getLocalNames(); + this.localNames = summary.getLocalNames(); if (DEBUG && this.localNames.isEmpty()) { System.err.println("Local names are empty for " + ref); } diff --git a/com.ibm.wala.core/src/com/ibm/wala/ipa/summaries/VolatileMethodSummary.java b/com.ibm.wala.core/src/com/ibm/wala/ipa/summaries/VolatileMethodSummary.java index c44efb37b..334d1df38 100644 --- a/com.ibm.wala.core/src/com/ibm/wala/ipa/summaries/VolatileMethodSummary.java +++ b/com.ibm.wala.core/src/com/ibm/wala/ipa/summaries/VolatileMethodSummary.java @@ -82,6 +82,7 @@ import com.ibm.wala.util.strings.Atom; * @author Tobias Blaschke * @since 2013-09-08 */ +@SuppressWarnings("javadoc") public class VolatileMethodSummary { private static final boolean DEBUG = false; diff --git a/com.ibm.wala.core/src/com/ibm/wala/util/ssa/ParameterAccessor.java b/com.ibm.wala.core/src/com/ibm/wala/util/ssa/ParameterAccessor.java index 3e8671cdf..577a07ab3 100644 --- a/com.ibm.wala.core/src/com/ibm/wala/util/ssa/ParameterAccessor.java +++ b/com.ibm.wala.core/src/com/ibm/wala/util/ssa/ParameterAccessor.java @@ -294,7 +294,7 @@ public class ParameterAccessor { * * Using this Constructor influences the SSA-Values returned later. The cha is needed to * determine whether mRef is static. If this is already known one should prefer the faster - * {@link #ParameterAccessor(ParameterAccessor, boolean)}. + * {@link #ParameterAccessor(MethodReference, boolean)}. * * @param mRef The method to read the parameters from. */ @@ -393,7 +393,7 @@ public class ParameterAccessor { * * Do _not_ use ParameterAceesor(IMethod.getReference()), but ParameterAceesor(IMehod)! * - * This constructor is faster than {@link #ParameterAccessor(MethodReference, IClassHierarchy}. + * This constructor is faster than {@link #ParameterAccessor(MethodReference, IClassHierarchy)}. * * @param mRef The method to read the parameters from. */ @@ -457,7 +457,7 @@ public class ParameterAccessor { * * @param no the number in the Selector * @return new Parameter-Object for no - * @throws IllegalArgumentExceptions if the parameter is zero + * @throws IllegalArgumentException if the parameter is zero * @throws ArrayIndexOutOfBoundsException if no is not within bounds [1 to numberOfParameters] */ public Parameter getParameter(final int no) { diff --git a/com.ibm.wala.core/src/com/ibm/wala/util/ssa/SSAValue.java b/com.ibm.wala.core/src/com/ibm/wala/util/ssa/SSAValue.java index 19da8b5e1..5def15e17 100644 --- a/com.ibm.wala.core/src/com/ibm/wala/util/ssa/SSAValue.java +++ b/com.ibm.wala.core/src/com/ibm/wala/util/ssa/SSAValue.java @@ -55,7 +55,7 @@ import com.ibm.wala.types.TypeReference; * Use ParameterAccessor to get the parameters of a function as SSAValues. * * @see com.ibm.wala.util.ssa.TypeSafeInstructionFactory - * @see com.ibm.wala.util.ParameterAccessor + * @see com.ibm.wala.util.ssa.ParameterAccessor * * @author Tobias Blaschke * @since 2013-10-20 @@ -188,7 +188,6 @@ public class SSAValue { * * @param number access the value using this number * @param validIn optionally assign this value to a method - * @param variableName optional name of the variable * @throws IllegalArgumentException on negative parameter number */ public SSAValue(final int number, final TypeReference type, final MethodReference validIn, final VariableKey key) { diff --git a/com.ibm.wala.core/src/com/ibm/wala/util/ssa/SSAValueManager.java b/com.ibm.wala.core/src/com/ibm/wala/util/ssa/SSAValueManager.java index 4339d2460..257100335 100644 --- a/com.ibm.wala.core/src/com/ibm/wala/util/ssa/SSAValueManager.java +++ b/com.ibm.wala.core/src/com/ibm/wala/util/ssa/SSAValueManager.java @@ -191,11 +191,10 @@ public class SSAValueManager { /** * Register a Phi-Instruction _after_ added to the model. * - * @param type the type the Phi-Instruction sets - * @param ssaValue the number the SSA-Instruction assigns to + * @param value the number the SSA-Instruction assigns to * @param setBy the Phi-Instruction itself - may be null * @throws IllegalArgumentException if you assign to a number requested using - * {@link #getFree(TypeReference)} but types mismatch. + * {@link #getFree} but types mismatch. * @throws IllegalStateException if you forgot to close some Phis */ public void setPhi(final SSAValue value, SSAInstruction setBy) { diff --git a/com.ibm.wala.core/src/com/ibm/wala/util/ssa/TypeSafeInstructionFactory.java b/com.ibm.wala.core/src/com/ibm/wala/util/ssa/TypeSafeInstructionFactory.java index 8738928ab..986a2bb0e 100644 --- a/com.ibm.wala.core/src/com/ibm/wala/util/ssa/TypeSafeInstructionFactory.java +++ b/com.ibm.wala.core/src/com/ibm/wala/util/ssa/TypeSafeInstructionFactory.java @@ -52,6 +52,7 @@ import com.ibm.wala.classLoader.NewSiteReference; import com.ibm.wala.ipa.cha.IClassHierarchy; import com.ibm.wala.shrikeBT.IConditionalBranchInstruction; import com.ibm.wala.shrikeBT.IInvokeInstruction; +import com.ibm.wala.shrikeCT.BootstrapMethodsReader.BootstrapMethod; import com.ibm.wala.ssa.SSAArrayLoadInstruction; import com.ibm.wala.ssa.SSAArrayStoreInstruction; import com.ibm.wala.ssa.SSAConditionalBranchInstruction; @@ -100,7 +101,7 @@ public class TypeSafeInstructionFactory { * * Calls result.setAssigned() * - * @see com.ibm.wala.classLoader.JavaLanguage.JavaInstructionFactory.InvokeInstruction(int, int, int[], int, CallSiteReference) + * @see com.ibm.wala.classLoader.JavaLanguage.JavaInstructionFactory#InvokeInstruction(int, int, int[], int, CallSiteReference, BootstrapMethod) * * @param iindex Zero or a positive number unique to any instruction of the same method * @param result Where to place the return-value of the called method. Is SSAValue.setAssigned() automatically. @@ -213,7 +214,7 @@ public class TypeSafeInstructionFactory { * All parameters (but exception) are typechecked first. If the check passes they get unpacked and handed over * to the corresponding JavaInstructionFactory.InvokeInstruction. * - * @see com.ibm.wala.classLoader.JavaLanguage.JavaInstructionFactory.InvokeInstruction(int, int[], int, CallSiteReference) + * @see com.ibm.wala.classLoader.JavaLanguage.JavaInstructionFactory#InvokeInstruction(int, int[], int, CallSiteReference, BootstrapMethod) * * @param iindex Zero or a positive number unique to any instruction of the same method * @param params Parameters to the call starting with the implicit this-pointer if necessary @@ -311,7 +312,7 @@ public class TypeSafeInstructionFactory { * * If type check passes the corresponding ReturnInstruction of the JavaInstructionFactory is called. * - * @see com.ibm.wala.classLoader.JavaLanguage.JavaInstructionFactory.ReturnInstruction(int, int, boolean) + * @see com.ibm.wala.classLoader.JavaLanguage.JavaInstructionFactory#ReturnInstruction(int, int, boolean) * * @param iindex Zero or a positive number unique to any instruction of the same method * @param result SSAValue to return _with_ validIn _set_! @@ -337,7 +338,7 @@ public class TypeSafeInstructionFactory { * If type check passes the corresponding GetInstruction of the JavaInstructionFactory is called. * Calls targetValue.setAssigned() * - * @see com.ibm.wala.classLoader.JavaLanguage.JavaInstructionFactory.GetInstruction(int, int, int, FieldReference) + * @see com.ibm.wala.classLoader.JavaLanguage.JavaInstructionFactory#GetInstruction(int, int, int, FieldReference) * * @param iindex Zero or a positive number unique to any instruction of the same method * @param targetValue the result of the GetInstruction is placed there @@ -386,11 +387,10 @@ public class TypeSafeInstructionFactory { * If type check passes the corresponding GetInstruction of the JavaInstructionFactory is called. * Calls targetValue.setAssigned() * - * @see com.ibm.wala.classLoader.JavaLanguage.JavaInstructionFactory.GetInstruction(int, int, int, FieldReference) + * @see com.ibm.wala.classLoader.JavaLanguage.JavaInstructionFactory#GetInstruction(int, int, int, FieldReference) * * @param iindex Zero or a positive number unique to any instruction of the same method * @param targetValue the result of the GetInstruction is placed there - * @param containingInstance The Object instance to read the field from * @param field The description of the field */ public SSAGetInstruction GetInstruction(final int iindex, final SSAValue targetValue, FieldReference field) { @@ -420,7 +420,7 @@ public class TypeSafeInstructionFactory { * * If type check passes the corresponding PutInstruction of the JavaInstructionFactory is called. * - * @see com.ibm.wala.classLoader.JavaLanguage.JavaInstructionFactory.PutInstruction(int, int, int, FieldReference) + * @see com.ibm.wala.classLoader.JavaLanguage.JavaInstructionFactory#PutInstruction(int, int, int, FieldReference) * * @param iindex Zero or a psitive number unique to any instruction of the same method * @param targetInstance the instance of the object to write a field of @@ -467,10 +467,9 @@ public class TypeSafeInstructionFactory { * * If type check passes the corresponding PutInstruction of the JavaInstructionFactory is called. * - * @see com.ibm.wala.classLoader.JavaLanguage.JavaInstructionFactory.PutInstruction(int, int, int, FieldReference) + * @see com.ibm.wala.classLoader.JavaLanguage.JavaInstructionFactory#PutInstruction(int, int, int, FieldReference) * * @param iindex Zero or a psitive number unique to any instruction of the same method - * @param targetInstance the instance of the object to write a field of * @param newValue The value to write to the field * @param field The description of the target */ @@ -559,7 +558,7 @@ public class TypeSafeInstructionFactory { * If type check passes the corresponding PhiInstruction of the JavaInstructionFactory is called. * Calls result.setAssigned(). * - * @see com.ibm.wala.classLoader.JavaLanguage.JavaInstructionFactory.PhiInstruction(int, int, int[]) + * @see com.ibm.wala.classLoader.JavaLanguage.JavaInstructionFactory#PhiInstruction(int, int, int[]) * * @param iindex Zero or a positive number unique to any instruction of the same method * @param result Where to write result to diff --git a/com.ibm.wala.dalvik.test/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.dalvik.test/.settings/org.eclipse.jdt.core.prefs index dddcf71c2..3abb1cc33 100644 --- a/com.ibm.wala.dalvik.test/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.dalvik.test/.settings/org.eclipse.jdt.core.prefs @@ -58,6 +58,7 @@ org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore org.eclipse.jdt.core.compiler.problem.unusedImport=warning org.eclipse.jdt.core.compiler.problem.unusedLabel=warning org.eclipse.jdt.core.compiler.problem.unusedLocal=warning diff --git a/com.ibm.wala.dalvik.test/META-INF/MANIFEST.MF b/com.ibm.wala.dalvik.test/META-INF/MANIFEST.MF index 652edcb6a..2ba14dd6a 100644 --- a/com.ibm.wala.dalvik.test/META-INF/MANIFEST.MF +++ b/com.ibm.wala.dalvik.test/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: WalaDalvikBytecodeTests Bundle-SymbolicName: com.ibm.wala.dalvik.test -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Activator: com.ibm.wala.dalvik.test.Activator Bundle-Vendor: IBM Require-Bundle: org.eclipse.core.runtime, diff --git a/com.ibm.wala.dalvik.test/pom.xml b/com.ibm.wala.dalvik.test/pom.xml index 3f09dedac..60f49d016 100644 --- a/com.ibm.wala.dalvik.test/pom.xml +++ b/com.ibm.wala.dalvik.test/pom.xml @@ -5,7 +5,7 @@ com.ibm.wala WALA - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.dalvik.test eclipse-plugin diff --git a/com.ibm.wala.dalvik/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.dalvik/.settings/org.eclipse.jdt.core.prefs index 78bba305a..4444b6874 100644 --- a/com.ibm.wala.dalvik/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.dalvik/.settings/org.eclipse.jdt.core.prefs @@ -19,7 +19,13 @@ org.eclipse.jdt.core.compiler.debug.sourceFile=generate org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore org.eclipse.jdt.core.compiler.source=1.7 org.eclipse.jdt.core.incompatibleJDKLevel=ignore org.eclipse.jdt.core.incompleteClasspath=error diff --git a/com.ibm.wala.dalvik/META-INF/MANIFEST.MF b/com.ibm.wala.dalvik/META-INF/MANIFEST.MF index f14b7c126..e96a4cfe4 100644 --- a/com.ibm.wala.dalvik/META-INF/MANIFEST.MF +++ b/com.ibm.wala.dalvik/META-INF/MANIFEST.MF @@ -2,11 +2,10 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: WALA Dalvik Bytecode Frontend Bundle-SymbolicName: com.ibm.wala.dalvik -Bundle-Version: 1.4.1.qualifier -Require-Bundle: com.ibm.wala.cast;bundle-version="1.0.0", - com.ibm.wala.core;bundle-version="1.1.3", - com.ibm.wala.ide;bundle-version="1.1.3", - com.ibm.wala.shrike;bundle-version="1.3.1" +Bundle-Version: 1.4.1 +Require-Bundle: com.ibm.wala.core;bundle-version="1.1.3", + com.ibm.wala.shrike;bundle-version="1.3.1", + com.ibm.wala.cast;bundle-version="1.0.0" Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-ActivationPolicy: lazy Export-Package: com.google.common.annotations, diff --git a/com.ibm.wala.dalvik/build.xml b/com.ibm.wala.dalvik/build.xml index 8dfd5a3ae..5306b444a 100755 --- a/com.ibm.wala.dalvik/build.xml +++ b/com.ibm.wala.dalvik/build.xml @@ -51,7 +51,7 @@ - + diff --git a/com.ibm.wala.dalvik/mvncentral.xml b/com.ibm.wala.dalvik/mvncentral.xml new file mode 100644 index 000000000..d807b5784 --- /dev/null +++ b/com.ibm.wala.dalvik/mvncentral.xml @@ -0,0 +1,196 @@ + + + 4.0.0 + com.ibm.wala + com.ibm.wala.dalvik + 1.4.1 + jar + WALA Dalvik + WALA Dalvik frontend + http://wala.sourceforge.net + + + Eclipse Public License, Version 1.0 + https://www.eclipse.org/legal/epl-v10.html + + + + + Manu Sridharan + m.sridharan@samsung.com + Samsung Research America + http://www.sisa.samsung.com/ + + + + scm:git:git@github.com:wala/WALA.git + scm:git:git@github.com:example/example-application.git + git@github.com:example/example-application.git + + + + src + + + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + + + + com.ibm.wala + com.ibm.wala.core + 1.4.1 + + + com.ibm.wala + com.ibm.wala.cast + 1.4.1 + + + com.ibm.wala + com.ibm.wala.shrike + 1.4.1 + + + commons-io + commons-io + 2.4 + + + commons-cli + commons-cli + 1.2 + + + net.sridharan + dexlib + 1.3.4.custom + + + com.google.guava + guava + 13.0.1 + + + ch.qos.logback + logback-core + 1.0.9 + + + org.slf4j + slf4j-api + 1.7.2 + + + + + + sonatype-snapshots + https://oss.sonatype.org/content/repositories/snapshots/ + + + maven-jars-mvn-repo + https://raw.github.com/msridhar/maven-jars/mvn-repo/ + + + + + + jdk17 + + 1.7 + + + + + + + jdk18 + + 1.8 + + + -Xdoclint:none + + + + + + ${src.dir} + + + org.apache.maven.plugins + maven-compiler-plugin + 3.2 + + 1.7 + 1.7 + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.3 + true + + ossrh + https://oss.sonatype.org/ + true + + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + ${javadoc.options} + + 2.9.1 + + + attach-javadocs + + jar + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + + + diff --git a/com.ibm.wala.dalvik/pom.xml b/com.ibm.wala.dalvik/pom.xml index 59736940a..61478cde4 100644 --- a/com.ibm.wala.dalvik/pom.xml +++ b/com.ibm.wala.dalvik/pom.xml @@ -6,7 +6,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.dalvik eclipse-plugin diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/analysis/typeInference/DalvikTypeInference.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/analysis/typeInference/DalvikTypeInference.java index e1feacf23..879cc80bd 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/analysis/typeInference/DalvikTypeInference.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/analysis/typeInference/DalvikTypeInference.java @@ -6,7 +6,6 @@ import com.ibm.wala.analysis.typeInference.TypeVariable; import com.ibm.wala.fixpoint.AbstractOperator; import com.ibm.wala.fixpoint.IVariable; import com.ibm.wala.ssa.IR; -import com.ibm.wala.ssa.IVisitorWithAddresses; import com.ibm.wala.ssa.SSAPhiInstruction; import com.ibm.wala.ssa.SymbolTable; @@ -50,7 +49,7 @@ public class DalvikTypeInference extends TypeInference { } } - protected class TypeOperatorFactory extends TypeInference.TypeOperatorFactory implements IVisitorWithAddresses, OperatorFactory { + protected class TypeOperatorFactory extends TypeInference.TypeOperatorFactory { @Override public void visitPhi(SSAPhiInstruction instruction) { diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/ActivityModelMethod.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/ActivityModelMethod.java index b8d6237a7..620154773 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/ActivityModelMethod.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/ActivityModelMethod.java @@ -85,7 +85,6 @@ public class ActivityModelMethod extends DexIMethod { } catch (Exception e) { throw new IllegalArgumentException(e); } - @SuppressWarnings("unchecked") Section cldeff = activityModelDF.getSectionForType(TYPE_CLASS_DEF_ITEM); for (ClassDefItem cdefitems : cldeff.getItems()) { if (cdefitems.getClassType().getTypeDescriptor() diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/DexCFG.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/DexCFG.java index eecd7ae96..84774deea 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/DexCFG.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/DexCFG.java @@ -101,7 +101,7 @@ public class DexCFG extends AbstractCFG implemen } public Instruction[] getInstructions() { - return (Instruction[])dexMethod.getDexInstructions(); + return dexMethod.getDexInstructions(); } @@ -417,7 +417,7 @@ public class DexCFG extends AbstractCFG implemen if (pei == null) { throw new IllegalArgumentException("pei is null"); } - switch (((Instruction) pei).getOpcode()) { + switch (pei.getOpcode()) { //TODO: Make sure all the important cases and exceptions are covered. case AGET: case AGET_WIDE: diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/DexIMethod.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/DexIMethod.java index 3b6010d10..757c64c84 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/DexIMethod.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/DexIMethod.java @@ -259,7 +259,7 @@ public class DexIMethod implements IBytecodeMethod { /** * XXX not fully about the + 2. * @return the RegisterCount + 2 to make some room for the return and exception register - * @see com.ibm.wala.classLoader.IMethod#getMaxLocals() + * @see com.ibm.wala.classLoader.ShrikeCTMethod#getMaxLocals() */ public int getMaxLocals() { return eMethod.codeItem.getRegisterCount() + 2; @@ -674,7 +674,7 @@ public class DexIMethod implements IBytecodeMethod { for (int i = 0; i < instructions().size(); i++) { - handlers[i] = (ExceptionHandler[])temp_array.get(i).toArray(new ExceptionHandler[temp_array.get(i).size()]); + handlers[i] = temp_array.get(i).toArray(new ExceptionHandler[temp_array.get(i).size()]); /* System.out.println("i: " + i); @@ -3148,7 +3148,7 @@ public class DexIMethod implements IBytecodeMethod { } public Instruction[] getDexInstructions() { - return (Instruction[]) instructions().toArray(new Instruction[instructions().size()]); + return instructions().toArray(new Instruction[instructions().size()]); } diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/DexIRFactory.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/DexIRFactory.java index db1e1033e..72b4c4ce9 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/DexIRFactory.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/DexIRFactory.java @@ -29,7 +29,6 @@ import com.ibm.wala.ssa.analysis.DeadAssignmentElimination; public class DexIRFactory extends DefaultIRFactory { public final static boolean buildLocalMap = false; - @SuppressWarnings("rawtypes") @Override public ControlFlowGraph makeCFG(IMethod method, Context C) throws IllegalArgumentException { if (method == null) { diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/WDexClassLoaderImpl.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/WDexClassLoaderImpl.java index f1b1eba4c..38d5dc49b 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/WDexClassLoaderImpl.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/classLoader/WDexClassLoaderImpl.java @@ -135,10 +135,10 @@ public class WDexClassLoaderImpl extends ClassLoaderImpl { s.removeAll(toRemove); } - private Set getDexFiles(Module M) throws IOException { + private Set getDexFiles(Module M) { HashSet result = HashSetFactory.make(); for (Iterator it = M.getEntries(); it.hasNext();) { - ModuleEntry entry = (ModuleEntry) it.next(); + ModuleEntry entry = it.next(); if (entry instanceof DexModuleEntry) { result.add(entry); } diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/AndroidModel.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/AndroidModel.java index 7cca39603..fe6fb7ad0 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/AndroidModel.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/AndroidModel.java @@ -167,7 +167,7 @@ public class AndroidModel /* makes SummarizedMethod */ * Generates the model on a sub-set of Entrypoints. * * Asks {@link #selectEntryPoint(AndroidEntryPoint)} for each EntryPoint known to the AndroidEntryPointManager, - * if the EntryPoint should be included in the model. Then calls {@link #build(Atom, Iterable)} + * if the EntryPoint should be included in the model. Then calls {@link #build(Atom, Collection)} * on these. * * @param name The name the generated method will be known as @@ -334,7 +334,7 @@ public class AndroidModel /* makes SummarizedMethod */ /** * Add Instructions to the model. * - * {@link #build(Iterable)} prepares the MethodSummary, then calls populate() to + * {@link #build(Atom, Collection)} prepares the MethodSummary, then calls populate() to * add the instructions, then finishes the model. Populate is only an extra function to shorten build(), * calling it doesn't make sense in an other context. */ @@ -575,7 +575,6 @@ public class AndroidModel /* makes SummarizedMethod */ * @see com.ibm.wala.dalvik.ipa.callgraph.propagation.cfa.IntentStarters * * @param asMethod The signature to generate - * @param flags Control the behavior of the wrapper, may be null * @param caller The class of the caller; only needed depending on the flags * @param info The IntentSterter used * @param callerNd CGNoodle of the caller - may be null diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/AndroidModelClass.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/AndroidModelClass.java index c2d4dfdc0..2b53e8b57 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/AndroidModelClass.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/AndroidModelClass.java @@ -84,7 +84,7 @@ import com.ibm.wala.util.strings.Atom; * * In the generated code this class may be found as "Lcom/ibm/wala/AndroidModelClass" * - * @see com.ibm.wala.dalvik.ipa.callgraph.impl.FakeRootClass + * @see com.ibm.wala.ipa.callgraph.impl.FakeRootClass * * @author Tobias Blaschke * @todo Move this class into an other loader? Currently: Primordial diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/MiniModel.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/MiniModel.java index c0b7dbb49..651c3a5cb 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/MiniModel.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/MiniModel.java @@ -92,7 +92,7 @@ public class MiniModel extends AndroidModel { } public MiniModel(final IClassHierarchy cha, final AnalysisOptions options, final IAnalysisCacheView cache, - final AndroidComponent forCompo) throws CancelException { + final AndroidComponent forCompo) { super(cha, options, cache); this.forCompo = forCompo; diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/AndroidModelParameterManager.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/AndroidModelParameterManager.java index 4d15e9b1f..ae51abcaa 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/AndroidModelParameterManager.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/AndroidModelParameterManager.java @@ -61,7 +61,6 @@ import com.ibm.wala.util.ssa.SSAValue; * However it does no allocations or Phi-Statements on its own. It just juggles with the numbers. * * @see com.ibm.wala.dalvik.ipa.callgraph.androidModel.structure.AbstractAndroidModel - * @see com.ibm.wala.dalvik.ipa.callgraph.impl.DexFakeRootMethod * * @author Tobias Blaschke * @since 2013-09-19 @@ -662,7 +661,7 @@ public class AndroidModelParameterManager { * Handed through to an IInstantiationBehavior if set in the constructor. * * @return true if Type is a REUSE type - * @throws IllegalStateExcpetion if AndroidModelParameterManager was constructed without an IInstanciationBehavior + * @throws IllegalStateException if AndroidModelParameterManager was constructed without an IInstanciationBehavior */ public boolean isReuse(TypeReference type) { if (this.behaviour == null) { @@ -677,7 +676,7 @@ public class AndroidModelParameterManager { * Shorthand for not({@link #isReuse(TypeReference)}. * * @return true if type is a CREATE-Type - * @throws IllegalStateExcpetion if AndroidModelParameterManager was constructed without an IInstanciationBehavior + * @throws IllegalStateException if AndroidModelParameterManager was constructed without an IInstanciationBehavior */ public boolean isCreate(TypeReference type) { return (! isReuse(type)); diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/DefaultInstantiationBehavior.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/DefaultInstantiationBehavior.java index d649a6b26..198948aa8 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/DefaultInstantiationBehavior.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/DefaultInstantiationBehavior.java @@ -60,7 +60,7 @@ import com.ibm.wala.util.strings.Atom; * @author Tobias Blaschke * @since 2013-10-25 */ -public class DefaultInstantiationBehavior extends IInstantiationBehavior implements Serializable { +public class DefaultInstantiationBehavior extends IInstantiationBehavior { /* package-private */ static final class BehviourValue implements Serializable { public final InstanceBehavior behaviour; diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/FlatInstantiator.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/FlatInstantiator.java index d603c387b..332f74887 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/FlatInstantiator.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/FlatInstantiator.java @@ -343,9 +343,6 @@ public class FlatInstantiator implements IInstantiator { return instance; } - /** - * @return an unallocated SSAVariable - */ private void createPrimitive(SSAValue instance) { // XXX; something else? instance.setAssigned(); @@ -385,7 +382,7 @@ public class FlatInstantiator implements IInstantiator { * * @param self the "this" to call the constructor on * @param ctor the constructor to call - * @param params parameters to the ctor _without_ implicit this + * @param ctorParams parameters to the ctor _without_ implicit this */ protected void addCallCtor(SSAValue self, MethodReference ctor, List ctorParams) { final int pc = this.body.getNextProgramCounter(); diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/IInstantiationBehavior.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/IInstantiationBehavior.java index 7bdb3091b..2b1f14319 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/IInstantiationBehavior.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/IInstantiationBehavior.java @@ -67,7 +67,7 @@ public abstract class IInstantiationBehavior implements Serializable { } /** - * Information on how the IInstanciationBehavior made its decision for {@link #InstanceBehavior} + * Information on how the IInstanciationBehavior made its decision for {@link InstanceBehavior} */ public static enum Exactness { /** @@ -92,7 +92,7 @@ public abstract class IInstantiationBehavior implements Serializable { /** * Returns how the model should behave on the type. * - * See the documentation of {@link #InstanceBehavior} for the description of the possible behaviours. + * See the documentation of {@link InstanceBehavior} for the description of the possible behaviours. * * Although this function takes a parameter withName one should not rely on its value. * diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/Instantiator.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/Instantiator.java index 6aac763ca..be6fe5d1e 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/Instantiator.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/Instantiator.java @@ -344,9 +344,6 @@ public class Instantiator implements IInstantiator { return instance; } - /** - * @return an unallocated SSAVariable - */ private void createPrimitive(SSAValue instance) { // XXX; something else? instance.setAssigned(); @@ -386,7 +383,7 @@ public class Instantiator implements IInstantiator { * * @param self the "this" to call the constructor on * @param ctor the constructor to call - * @param params parameters to the ctor _without_ implicit this + * @param ctorParams parameters to the ctor _without_ implicit this */ private void addCallCtor(SSAValue self, MethodReference ctor, List ctorParams) { final int pc = this.body.getNextProgramCounter(); diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/LoadedInstantiationBehavior.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/LoadedInstantiationBehavior.java index a14e235de..a1039cbc1 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/LoadedInstantiationBehavior.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/parameters/LoadedInstantiationBehavior.java @@ -60,7 +60,7 @@ import com.ibm.wala.util.strings.Atom; * @author Tobias Blaschke * @since 2013-10-25 */ -public class LoadedInstantiationBehavior extends IInstantiationBehavior implements Serializable { +public class LoadedInstantiationBehavior extends IInstantiationBehavior { private static final class BehviourValue implements Serializable { public final InstanceBehavior behaviour; diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/AbstractAndroidModel.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/AbstractAndroidModel.java index 3dce2e314..d9460e0d0 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/AbstractAndroidModel.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/AbstractAndroidModel.java @@ -69,7 +69,6 @@ import com.ibm.wala.util.ssa.TypeSafeInstructionFactory; * which aids in keeping track of SSA-Variables and adding Phi-Functions. * * @see com.ibm.wala.dalvik.ipa.callgraph.impl.AndroidEntryPoint.ExecutionOrder - * @see com.ibm.wala.dalvik.ipa.callgraph.impl.DexFakeRootMethod * @see com.ibm.wala.dalvik.ipa.callgraph.androidModel.parameters.AndroidModelParameterManager * * @author Tobias Blaschke @@ -197,7 +196,7 @@ public abstract class AbstractAndroidModel { * Gets called when Label ExecutionOrder.AT_FIRST got stepped over. * * In most cases you don't want to invoke this function directly but to use - * {@link #enter(ExecutionOrder.AT_FIRST, int)} instead. + * {@code enter(ExecutionOrder.AT_FIRST, int)} instead. * * Sideeffects: currentSection is updated, instructions are inserted into the body * @@ -211,7 +210,7 @@ public abstract class AbstractAndroidModel { * Gets called when Label ExecutionOrder.BEFORE_LOOP got stepped over. * * In most cases you don't want to invoke this function directly but to use - * {@link #enter(ExecutionOrder.BEFORE_LOOP, int)} instead + * {@code enter(ExecutionOrder.BEFORE_LOOP, int)} instead * * Sideeffects: currentSection is updated, instructions are inserted into the body * @@ -225,7 +224,7 @@ public abstract class AbstractAndroidModel { * Gets called when Label ExecutionOrder.START_OF_LOOP got stepped over. * * In most cases you don't want to invoke this function directly but to use - * {@link #enter(ExecutionOrder.START_OF_LOOP, int)} instead + * {@code enter(ExecutionOrder.START_OF_LOOP, int)} instead * * Sideeffects: currentSection is updated, instructions are inserted into the body * @@ -239,7 +238,7 @@ public abstract class AbstractAndroidModel { * Gets called when Label ExecutionOrder.MIDDLE_OF_LOOP got stepped over. * * In most cases you don't want to invoke this function directly but to use - * {@link #enter(ExecutionOrder.MIDDLE_OF_LOOP, int)} instead + * {@code enter(ExecutionOrder.MIDDLE_OF_LOOP, int)} instead * * Sideeffects: currentSection is updated, instructions are inserted into the body * @@ -253,7 +252,7 @@ public abstract class AbstractAndroidModel { * Gets called when Label ExecutionOrder.MULTIPLE_TIMES_IN_LOOP got stepped over. * * In most cases you don't want to invoke this function directly but to use - * {@link #enter(ExecutionOrder.MULTIPLE_TIMES_IN_LOOP, int)} instead + * {@code enter(ExecutionOrder.MULTIPLE_TIMES_IN_LOOP, int)} instead * * Sideeffects: currentSection is updated, instructions are inserted into the body * @@ -267,7 +266,7 @@ public abstract class AbstractAndroidModel { * Gets called when Label ExecutionOrder.END_OF_LOOP got stepped over. * * In most cases you don't want to invoke this function directly but to use - * {@link #enter(ExecutionOrder.END_OF_LOOP, int)} instead + * {@code enter(ExecutionOrder.END_OF_LOOP, int)} instead * * Sideeffects: currentSection is updated, instructions are inserted into the body * @@ -281,7 +280,7 @@ public abstract class AbstractAndroidModel { * Gets called when Label ExecutionOrder.AFTER_LOOP got stepped over. * * In most cases you don't want to invoke this function directly but to use - * {@link #enter(ExecutionOrder.AFTER_LOOP, int)} instead + * {@code enter(ExecutionOrder.AFTER_LOOP, int)} instead * * Sideeffects: currentSection is updated, instructions are inserted into the body * @@ -295,7 +294,7 @@ public abstract class AbstractAndroidModel { * Gets called when Label ExecutionOrder.AT_LAST got stepped over. * * In most cases you don't want to invoke this function directly but to use - * {@link #enter(ExecutionOrder.AT_LAST, int)} instead + * {@code enter(ExecutionOrder.AT_LAST, int)} instead * * Sideeffects: currentSection is updated, instructions are inserted into the body * diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/LoopAndroidModel.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/LoopAndroidModel.java index 5116d9566..38a66321d 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/LoopAndroidModel.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/LoopAndroidModel.java @@ -74,8 +74,6 @@ import com.ibm.wala.util.ssa.TypeSafeInstructionFactory; * restart of the Application (instance-state) or when the potential restart of the App * shall be ignored. * - * {@inheritDoc} - * * @author Tobias Blaschke */ public class LoopAndroidModel extends SingleStartAndroidModel { diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/SequentialAndroidModel.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/SequentialAndroidModel.java index ddec1d616..c96a8d198 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/SequentialAndroidModel.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/SequentialAndroidModel.java @@ -53,8 +53,6 @@ import com.ibm.wala.util.ssa.TypeSafeInstructionFactory; * This model should not be particular useful in practice. However it might come in * handy for debugging purposes or as a skeleton for an other Model. * - * {@inheritDoc} - * * @author Tobias Blaschke * @since 2013-09-18 */ diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/SingleStartAndroidModel.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/SingleStartAndroidModel.java index ffb884c24..009cc2c36 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/SingleStartAndroidModel.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/SingleStartAndroidModel.java @@ -71,8 +71,6 @@ import com.ibm.wala.util.ssa.TypeSafeInstructionFactory; * The incorporated loop is wrapped around user-interaction methods. These are in the section * MULTIPLE_TIMES_IN_LOOP. * - * {@inheritDoc} - * * @see com.ibm.wala.dalvik.ipa.callgraph.androidModel.structure.LoopAndroidModel * @see com.ibm.wala.dalvik.ipa.callgraph.androidModel.structure.LoopKillAndroidModel * @author Tobias Blaschke diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/package-info.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/package-info.java index 1ec39510c..aa3f83618 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/package-info.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/structure/package-info.java @@ -45,7 +45,7 @@ * * All Classes in this package extend AbstractAndroidModel. * - * @see com.com.ibm.wala.dalvik.ipa.callgraph.androidModel.structure.AbstractAndroidModel + * @see com.ibm.wala.dalvik.ipa.callgraph.androidModel.structure.AbstractAndroidModel * * @since 2013-10-25 * @author Tobias Blaschke diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/stubs/AndroidBoot.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/stubs/AndroidBoot.java index 7c5d74c0d..f94e7b5be 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/stubs/AndroidBoot.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/stubs/AndroidBoot.java @@ -179,7 +179,8 @@ public class AndroidBoot { * * @see android.app.ContextImpl.createPackageContextAsUser */ - private SSAValue createSystemContext(SSAValue mainThread) { + @SuppressWarnings("javadoc") + private SSAValue createSystemContext(SSAValue mainThread) { final SSAValue systemContext = this.pm.getUnmanaged(AndroidTypes.ContextImpl, "systemContextImpl"); { // Call ContextImpl.getSystemContext() final int pc = this.body.getNextProgramCounter(); @@ -211,7 +212,8 @@ public class AndroidBoot { * * @see android.app.ContextImpl.createPackageContextAsUser */ - private SSAValue createPackageContext(final SSAValue mainThread, final SSAValue systemContext) { + @SuppressWarnings("javadoc") + private SSAValue createPackageContext(final SSAValue mainThread, final SSAValue systemContext) { final SSAValue packageContext = this.pm.getUnmanaged(AndroidTypes.ContextImpl, "packageContextImpl"); { // New-Site final int pc = this.body.getNextProgramCounter(); diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/stubs/UnknownTargetModel.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/stubs/UnknownTargetModel.java index 88c763a13..b0818b5f1 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/stubs/UnknownTargetModel.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/androidModel/stubs/UnknownTargetModel.java @@ -109,7 +109,7 @@ public class UnknownTargetModel extends AndroidModel { * @param target Component Type, may be null: No restrictions are imposed on AndroidModel then */ public UnknownTargetModel(final IClassHierarchy cha, final AnalysisOptions options, final IAnalysisCacheView cache, - AndroidComponent target) throws CancelException { + AndroidComponent target) { super(cha, options, cache); if (target == null) { // TODO: Enable diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/impl/AndroidEntryPoint.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/impl/AndroidEntryPoint.java index c80cc766f..599aa7f6b 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/impl/AndroidEntryPoint.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/impl/AndroidEntryPoint.java @@ -173,7 +173,6 @@ public class AndroidEntryPoint extends DexEntryPoint { return ExecutionOrder.AT_LAST; } - /** {@inheritDoc} */ public int getOrderValue() { return order.getOrderValue(); } public int compareTo(AndroidEntryPoint.IExecutionOrder o) { return this.order.compareTo(o); @@ -189,7 +188,7 @@ public class AndroidEntryPoint extends DexEntryPoint { * Before building the model a list of AdroidEntryPoints is to be sorted by that criterion. * You can use AndroidEntryPoint.ExecutionOrderComperator for that task. */ - public static class ExecutionOrder implements Comparable, IExecutionOrder { + public static class ExecutionOrder implements IExecutionOrder { // This is an Enum-Style class /** Visit the EntryPoint once at the beginning of the model use that for initialization stuff */ public final static ExecutionOrder AT_FIRST = new ExecutionOrder(0); @@ -264,7 +263,7 @@ public class AndroidEntryPoint extends DexEntryPoint { * Use this to place a call to an EntryPoint between two other EntryPoint calls or ExecutionOrder "labels". * between() does not care about section-boundaries by itself! * - * Use {@link between(IExecutionOrder[], IExecutionOrder[])} and use labels as additional placement-information + * Use {@link #between(IExecutionOrder[], IExecutionOrder[])} and use labels as additional placement-information * to prevent unexpected misplacement. * * @param after the call or "label" to be executed before this one diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/propagation/cfa/Intent.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/propagation/cfa/Intent.java index 36c8d9c09..b1d0574af 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/propagation/cfa/Intent.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/propagation/cfa/Intent.java @@ -314,8 +314,6 @@ public class Intent implements ContextItem, Comparable { /** * Fallback: tries to determine on the Intent itself if it's a standard action. - * - * Use {@link #isStandardAction(boolean)} instead. */ private static boolean isStandardAction(Intent intent) { //TODO: This may loop forever! /*final Intent override = AndroidEntryPointManager.MANAGER.getIntent(intent); diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/propagation/cfa/IntentStarters.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/propagation/cfa/IntentStarters.java index 9aaa79a25..4d554b46b 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/propagation/cfa/IntentStarters.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ipa/callgraph/propagation/cfa/IntentStarters.java @@ -146,7 +146,7 @@ public class IntentStarters { /** * These influence how the model is built. * - * @see com.ibm.wala.dalvik.ipa.callgraph.propagation.cfa.IntentStarters.StarerFlags + * @see com.ibm.wala.dalvik.ipa.callgraph.propagation.cfa.IntentStarters.StarterFlags */ public Set getFlags() { return this.flags; diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ssa/AbstractIntRegisterMachine.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ssa/AbstractIntRegisterMachine.java index 96fd2c016..627467a6d 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ssa/AbstractIntRegisterMachine.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ssa/AbstractIntRegisterMachine.java @@ -902,7 +902,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants protected class BasicRegisterMachineVisitor extends Visitor { /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitArrayLength(ArrayLengthInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitArrayLength(ArrayLengthInstruction) */ @Override public void visitArrayLength(ArrayLength instruction) { @@ -914,7 +914,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitArrayLoad(IArrayLoadInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitArrayLoad(IArrayLoadInstruction) */ @Override public void visitArrayGet(ArrayGet instruction) { @@ -927,7 +927,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitArrayStore(IArrayStoreInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitArrayStore(IArrayStoreInstruction) */ @Override public void visitArrayPut(ArrayPut instruction) { @@ -939,7 +939,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitBinaryOp(IBinaryOpInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitBinaryOp(IBinaryOpInstruction) */ @Override public void visitBinaryOperation(BinaryOperation instruction) { @@ -949,7 +949,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitComparison(IComparisonInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitComparison(IComparisonInstruction) */ // @Override // public void visitComparison(IComparisonInstruction instruction) { @@ -959,7 +959,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants // } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitConditionalBranch(IConditionalBranchInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitConditionalBranch(IConditionalBranchInstruction) */ @Override public void visitBranch(Branch instruction) { @@ -970,7 +970,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitConstant(ConstantInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitConstant(ConstantInstruction) */ @Override public void visitConstant(Constant instruction) { @@ -980,7 +980,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitConversion(IConversionInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitConversion(IConversionInstruction) */ // @Override // public void visitConversion(IConversionInstruction instruction) { @@ -989,7 +989,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants // } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitDup(DupInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitDup(DupInstruction) */ // @Override // public void visitDup(DupInstruction instruction) { @@ -1022,7 +1022,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants // } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitGet(IGetInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitGet(IGetInstruction) */ @Override public void visitGetField(GetField instruction) { @@ -1039,7 +1039,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants // } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitInstanceof(InstanceofInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitInstanceof */ @Override public void visitInstanceof(InstanceOf instruction) { @@ -1050,7 +1050,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitInvoke(IInvokeInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitInvoke(IInvokeInstruction) */ @Override public void visitInvoke(Invoke instruction) { @@ -1065,7 +1065,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitMonitor(MonitorInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitMonitor(MonitorInstruction) */ @Override public void visitMonitor(Monitor instruction) { @@ -1075,7 +1075,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitLocalLoad(ILoadInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitLocalLoad(ILoadInstruction) */ // @Override // public void visitLocalLoad(ILoadInstruction instruction) { @@ -1084,7 +1084,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants // } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitLocalStore(IStoreInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitLocalStore(IStoreInstruction) */ // @Override // public void visitLocalStore(IStoreInstruction instruction) { @@ -1093,7 +1093,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants // } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitNew(NewInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitNew(NewInstruction) */ @Override public void visitNew(New instruction) { @@ -1104,7 +1104,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitPop(PopInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitPop(PopInstruction) */ // @Override // public void visitPop(PopInstruction instruction) { @@ -1114,7 +1114,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants // } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitPut(IPutInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitPut(IPutInstruction) */ @Override public void visitPutField(PutField instruction) { @@ -1124,7 +1124,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitShift(IShiftInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitShift(IShiftInstruction) */ // @Override // public void visitShift(IShiftInstruction instruction) { @@ -1132,7 +1132,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants // } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitSwap(SwapInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitSwap(SwapInstruction) */ // @Override // public void visitSwap(SwapInstruction instruction) { @@ -1140,7 +1140,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants // } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitSwitch(SwitchInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitSwitch(SwitchInstruction) */ @Override public void visitSwitch(Switch instruction) { @@ -1150,7 +1150,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitThrow(ThrowInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitThrow(ThrowInstruction) */ @Override public void visitThrow(Throw instruction) { @@ -1162,7 +1162,7 @@ public abstract class AbstractIntRegisterMachine implements FixedPointConstants } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitUnaryOp(IUnaryOpInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitUnaryOp(IUnaryOpInstruction) */ @Override public void visitUnaryOperation(UnaryOperation instruction) { diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ssa/DexSSABuilder.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ssa/DexSSABuilder.java index 12ef0b0ad..3fccb1fae 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ssa/DexSSABuilder.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/ssa/DexSSABuilder.java @@ -428,7 +428,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { // TODO: make sure all visit functions are overridden /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitArrayLength(ArrayLengthInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitArrayLength(ArrayLengthInstruction) */ @Override public void visitArrayLength(ArrayLength instruction) { @@ -441,7 +441,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitArrayLoad(IArrayLoadInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitArrayLoad(IArrayLoadInstruction) */ @Override public void visitArrayGet(ArrayGet instruction) { @@ -462,7 +462,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitArrayStore(IArrayStoreInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitArrayStore(IArrayStoreInstruction) */ @Override public void visitArrayPut(ArrayPut instruction) { @@ -486,7 +486,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { int i = 0; while (iae.hasNext()) { - ArrayElement ae = (ArrayElement)iae.next(); + ArrayElement ae = iae.next(); int ElementWidth = ae.elementWidth; int index = symbolTable.getConstant(i); @@ -508,9 +508,9 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { if (t.equals(TypeReference.Char)) value = symbolTable.getConstant(Character.toString(byte_buffer.getChar())); else if (t.equals(TypeReference.Byte)) - value = symbolTable.getConstant((int)byte_buffer.get()); + value = symbolTable.getConstant(byte_buffer.get()); else if (t.equals(TypeReference.Short)) - value = symbolTable.getConstant((int)byte_buffer.getShort()); + value = symbolTable.getConstant(byte_buffer.getShort()); else if (t.equals(TypeReference.Int)) value = symbolTable.getConstant(byte_buffer.getInt()); else if (t.equals(TypeReference.Long)) @@ -536,7 +536,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitBinaryOp(IBinaryOpInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitBinaryOp(IBinaryOpInstruction) */ @Override public void visitBinaryOperation(BinaryOperation instruction) { @@ -553,7 +553,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitBinaryOp(IBinaryOpInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitBinaryOp(IBinaryOpInstruction) */ @Override public void visitBinaryLiteral(BinaryLiteralOperation instruction) { @@ -597,7 +597,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitCheckCast(CheckCastInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitCheckCast */ @Override public void visitCheckCast(CheckCast instruction) { @@ -612,7 +612,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitConditionalBranch(IConditionalBranchInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitConditionalBranch(IConditionalBranchInstruction) */ @Override public void visitBranch(Branch instruction) { @@ -642,7 +642,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitConstant(ConstantInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitConstant(ConstantInstruction) */ @Override public void visitConstant(Constant instruction) { @@ -709,7 +709,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitConversion(IConversionInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitConversion(IConversionInstruction) */ // TODO: is this just a unary operation? // @Override @@ -726,7 +726,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { // } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitGet(IGetInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitGet(IGetInstruction) */ @Override public void visitGetField(GetField instruction) { @@ -762,7 +762,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitGoto(GotoInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitGoto(GotoInstruction) */ @Override public void visitGoto(Goto instruction) { @@ -770,7 +770,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitInstanceof(InstanceofInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitInstanceof */ @Override public void visitInstanceof(InstanceOf instruction) { @@ -785,7 +785,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitInvoke(IInvokeInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitInvoke(IInvokeInstruction) */ @Override public void visitInvoke(Invoke instruction) { @@ -903,7 +903,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { // } // // /* -// * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitLocalStore(com.ibm.wala.shrikeBT.StoreInstruction) +// * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitLocalStore(com.ibm.wala.shrikeBT.StoreInstruction) // */ // @Override // public void visitLocalStore(IStoreInstruction instruction) { @@ -914,7 +914,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { // } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitMonitor(MonitorInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitMonitor(MonitorInstruction) */ @Override public void visitMonitor(Monitor instruction) { @@ -924,7 +924,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitNew(NewInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitNew(NewInstruction) */ @Override public void visitNew(New instruction) { @@ -990,7 +990,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitGet(IGetInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitGet(IGetInstruction) */ @Override public void visitPutField(PutField instruction) { @@ -1011,7 +1011,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitReturn(ReturnInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitReturn(ReturnInstruction) */ @Override public void visitReturn(Return instruction) { @@ -1046,7 +1046,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitShift(IShiftInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitShift(IShiftInstruction) */ // TODO: this is just a binary operation // @Override @@ -1060,7 +1060,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { // } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitSwitch(SwitchInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitSwitch(SwitchInstruction) */ @Override public void visitSwitch(Switch instruction) { @@ -1104,7 +1104,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitThrow(ThrowInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitThrow(ThrowInstruction) */ @Override public void visitThrow(Throw instruction) { @@ -1123,7 +1123,7 @@ public class DexSSABuilder extends AbstractIntRegisterMachine { } /** - * @see com.ibm.wala.shrikeBT.Instruction.Visitor#visitUnaryOp(IUnaryOpInstruction) + * @see com.ibm.wala.shrikeBT.IInstruction.Visitor#visitUnaryOp(IUnaryOpInstruction) */ @Override public void visitUnaryOperation(UnaryOperation instruction) { diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/util/AndroidEntryPointManager.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/util/AndroidEntryPointManager.java index b869ee3c9..008ce5c34 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/util/AndroidEntryPointManager.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/util/AndroidEntryPointManager.java @@ -222,7 +222,7 @@ public final /* singleton */ class AndroidEntryPointManager implements Serializa /** * Whether to generate a global android environment. * - * See the {@link #setDoBootSequence()} documentation. + * See the {@link #setDoBootSequence} documentation. * * @return the setting, defaults to true */ @@ -293,7 +293,7 @@ public final /* singleton */ class AndroidEntryPointManager implements Serializa /** * The behavior set using setModelBehavior(Class). * - * Use {@link makeModelBehavior(VolatileMethodSummary, JavaInstructionFactory, AndroidModelParameterManager, Iterable} + * Use {@link #makeModelBehavior} * to retrieve an instance of this class. * * If no class was set it returns null, makeModelBehavior will generate a LoopAndroidModel by default. @@ -362,7 +362,7 @@ public final /* singleton */ class AndroidEntryPointManager implements Serializa * See: {@link #setPackage(String)} * * @return The package or null if it was indeterminable. - * @see guessPacakge() + * @see #guessPackage() */ public String getPackage() { if (this.pack == null) { @@ -380,7 +380,7 @@ public final /* singleton */ class AndroidEntryPointManager implements Serializa * the package based on the first entrypoint. * * @return The package or null if it was indeterminable. - * @see getPackage() + * @see #getPackage() */ public String guessPackage() { if (this.pack != null) { @@ -418,7 +418,7 @@ public final /* singleton */ class AndroidEntryPointManager implements Serializa * @param intent An Intent with more or the same information as known to the system before. * @throws IllegalArgumentException if you lower the information on an already registered Intent or the * information is incompatible. - * @see registerIntentForce() + * @see #registerIntentForce */ public void registerIntent(Intent intent) { if (overrideIntents.containsKey(intent)) { @@ -476,7 +476,7 @@ public final /* singleton */ class AndroidEntryPointManager implements Serializa * * @param from the Intent to override * @param to the new Intent to resolve once 'from' is seen - * @see setOverrideForce() + * @see #setOverrideForce * @throws IllegalArgumentException if you override an Intent with itself */ public void setOverride(Intent from, Intent to) { diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/util/AndroidManifestXMLReader.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/util/AndroidManifestXMLReader.java index ee554c54a..9dffc861a 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/util/AndroidManifestXMLReader.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/util/AndroidManifestXMLReader.java @@ -97,7 +97,7 @@ public class AndroidManifestXMLReader { */ private static final Logger logger = LoggerFactory.getLogger(AndroidSettingFactory.class); - public AndroidManifestXMLReader(File xmlFile) throws IOException { + public AndroidManifestXMLReader(File xmlFile) { if (xmlFile == null) { throw new IllegalArgumentException("xmlFile may not be null"); } @@ -138,7 +138,6 @@ public class AndroidManifestXMLReader { /** * Only includes relevant tags. */ - @SuppressWarnings("unchecked") private enum Tag implements HistoryKey { /** * This tag is nat an actual part of the document. @@ -483,9 +482,6 @@ public class AndroidManifestXMLReader { * Attributes. */ private static class FinalItem extends ParserItem { - public FinalItem() { - super(); - } @Override public void leave() { final Set subs = self.getAllowedSubTags(); @@ -507,18 +503,12 @@ public class AndroidManifestXMLReader { * It's like FinalItem but may contain sub-tags. */ private static class NoOpItem extends ParserItem { - public NoOpItem() { - super(); - } } /** * The root-element of an AndroidManifest contains the package. */ private static class ManifestItem extends ParserItem { - public ManifestItem() { - super(); - } @Override public void enter(Attributes saxAttrs) { super.enter(saxAttrs); @@ -532,9 +522,6 @@ public class AndroidManifestXMLReader { * @todo Handle the URI */ private static class IntentItem extends ParserItem { - public IntentItem() { - super(); - } @Override public void leave() { Set allowedTags = EnumSet.copyOf(self.getAllowedSubTags()); @@ -604,9 +591,6 @@ public class AndroidManifestXMLReader { } private static class ComponentItem extends ParserItem { - public ComponentItem() { - super(); - } @Override public void leave() { final Set allowedTags = self.getAllowedSubTags(); diff --git a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/util/androidEntryPoints/FragmentEP.java b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/util/androidEntryPoints/FragmentEP.java index e4bd040c5..7606389c9 100644 --- a/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/util/androidEntryPoints/FragmentEP.java +++ b/com.ibm.wala.dalvik/src/com/ibm/wala/dalvik/util/androidEntryPoints/FragmentEP.java @@ -297,7 +297,7 @@ public final class FragmentEP { // /** - * @see ActivityEP.onActivityResult + * @see ActivityEP#onActivityResult */ public static final AndroidPossibleEntryPoint onActivityResult = new AndroidPossibleEntryPoint(AndroidComponent.FRAGMENT, "onActivityResult", @@ -401,15 +401,15 @@ public final class FragmentEP { )); /** - * @see ActivityEP.onLowMemory - * @see ApplicationEP.onLowMemory + * @see ActivityEP#onLowMemory + * @see ApplicationEP#onLowMemory */ public static final AndroidPossibleEntryPoint onLowMemory = new AndroidPossibleEntryPoint(AndroidComponent.FRAGMENT, "onLowMemory", ExecutionOrder.directlyBefore(ActivityEP.onLowMemory) ); /** - * @see ActivityEP.onOptionsItemSelected + * @see ActivityEP#onOptionsItemSelected */ public static final AndroidPossibleEntryPoint onOptionsItemSelected = new AndroidPossibleEntryPoint(AndroidComponent.FRAGMENT, "onOptionsItemSelected", @@ -417,7 +417,7 @@ public final class FragmentEP { ); /** - * @see ActivityEP.onOptionsMenuClosed + * @see ActivityEP#onOptionsMenuClosed */ public static final AndroidPossibleEntryPoint onOptionsMenuClosed = new AndroidPossibleEntryPoint(AndroidComponent.FRAGMENT, "onOptionsMenuClosed", @@ -427,7 +427,7 @@ public final class FragmentEP { /** * This is called right before the menu is shown, every time it is shown. * - * @see ActivityEP.onPrepareOptionsMenu + * @see ActivityEP#onPrepareOptionsMenu */ public static final AndroidPossibleEntryPoint onPrepareOptionsMenu = new AndroidPossibleEntryPoint(AndroidComponent.FRAGMENT, "onPrepareOptionsMenu", @@ -467,7 +467,7 @@ public final class FragmentEP { )); /** - * @see ActtivityEP.onTrimMemory + * @see ActivityEP#onTrimMemory */ public static final AndroidPossibleEntryPoint onTrimMemory = new AndroidPossibleEntryPoint(AndroidComponent.FRAGMENT, "onTrimMemory", diff --git a/com.ibm.wala.ide-feature/feature.xml b/com.ibm.wala.ide-feature/feature.xml index 79b21b240..d4cc8c11b 100644 --- a/com.ibm.wala.ide-feature/feature.xml +++ b/com.ibm.wala.ide-feature/feature.xml @@ -2,7 +2,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.ide-feature eclipse-feature diff --git a/com.ibm.wala.ide.jdt.test/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.ide.jdt.test/.settings/org.eclipse.jdt.core.prefs index 763f57919..d4aba8a9a 100644 --- a/com.ibm.wala.ide.jdt.test/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.ide.jdt.test/.settings/org.eclipse.jdt.core.prefs @@ -39,6 +39,7 @@ org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public diff --git a/com.ibm.wala.ide.jdt.test/META-INF/MANIFEST.MF b/com.ibm.wala.ide.jdt.test/META-INF/MANIFEST.MF index 57d699a89..b5765ebd7 100644 --- a/com.ibm.wala.ide.jdt.test/META-INF/MANIFEST.MF +++ b/com.ibm.wala.ide.jdt.test/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: WALA CAst Java JDT Test Plug-in Bundle-SymbolicName: com.ibm.wala.ide.jdt.test -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Activator: com.ibm.wala.cast.java.jdt.test.Activator Bundle-Vendor: IBM Require-Bundle: com.ibm.wala.cast.java.test;bundle-version="1.0.0", diff --git a/com.ibm.wala.ide.jdt.test/pom.xml b/com.ibm.wala.ide.jdt.test/pom.xml index b6b67983d..b9a76d638 100644 --- a/com.ibm.wala.ide.jdt.test/pom.xml +++ b/com.ibm.wala.ide.jdt.test/pom.xml @@ -6,7 +6,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 diff --git a/com.ibm.wala.ide.jdt/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.ide.jdt/.settings/org.eclipse.jdt.core.prefs index 763f57919..97d094392 100644 --- a/com.ibm.wala.ide.jdt/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.ide.jdt/.settings/org.eclipse.jdt.core.prefs @@ -39,6 +39,7 @@ org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public @@ -66,6 +67,7 @@ org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore org.eclipse.jdt.core.compiler.problem.unusedImport=warning org.eclipse.jdt.core.compiler.problem.unusedLabel=warning org.eclipse.jdt.core.compiler.problem.unusedLocal=warning diff --git a/com.ibm.wala.ide.jdt/META-INF/MANIFEST.MF b/com.ibm.wala.ide.jdt/META-INF/MANIFEST.MF index 968ef05be..e54e2498b 100644 --- a/com.ibm.wala.ide.jdt/META-INF/MANIFEST.MF +++ b/com.ibm.wala.ide.jdt/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: WALA IDE JDT components Bundle-SymbolicName: com.ibm.wala.ide.jdt -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Activator: com.ibm.wala.ide.jdt.Activator Bundle-Vendor: IBM Require-Bundle: org.eclipse.ui, diff --git a/com.ibm.wala.ide.jdt/pom.xml b/com.ibm.wala.ide.jdt/pom.xml index 9b1e9f0f9..6a2bc148b 100644 --- a/com.ibm.wala.ide.jdt/pom.xml +++ b/com.ibm.wala.ide.jdt/pom.xml @@ -5,7 +5,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.ide.jdt eclipse-plugin diff --git a/com.ibm.wala.ide.jdt/source/com/ibm/wala/ide/AbstractJavaAnalysisAction.java b/com.ibm.wala.ide.jdt/source/com/ibm/wala/ide/AbstractJavaAnalysisAction.java index 0f6329697..bd1440b23 100644 --- a/com.ibm.wala.ide.jdt/source/com/ibm/wala/ide/AbstractJavaAnalysisAction.java +++ b/com.ibm.wala.ide.jdt/source/com/ibm/wala/ide/AbstractJavaAnalysisAction.java @@ -84,7 +84,6 @@ public abstract class AbstractJavaAnalysisAction implements IObjectActionDelegat final Collection projectPaths = new LinkedList<>(); Job job = new Job("Compute project paths") { - @SuppressWarnings("unchecked") @Override protected IStatus run(IProgressMonitor monitor) { for (Iterator it = selection.iterator(); it.hasNext();) { @@ -134,7 +133,6 @@ public abstract class AbstractJavaAnalysisAction implements IObjectActionDelegat /** * compute the java projects represented by the current selection */ - @SuppressWarnings("unchecked") protected Collection computeJavaProjects() { IStructuredSelection selection = (IStructuredSelection) currentSelection; Collection projects = HashSetFactory.make(); diff --git a/com.ibm.wala.ide.jsdt.tests/META-INF/MANIFEST.MF b/com.ibm.wala.ide.jsdt.tests/META-INF/MANIFEST.MF index 2a50695fb..b191db1db 100644 --- a/com.ibm.wala.ide.jsdt.tests/META-INF/MANIFEST.MF +++ b/com.ibm.wala.ide.jsdt.tests/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: JSDT Tests Bundle-SymbolicName: com.ibm.wala.ide.jsdt.tests;singleton:=true -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Require-Bundle: com.ibm.wala.core;bundle-version="1.1.3", com.ibm.wala.cast;bundle-version="1.0.0", com.ibm.wala.cast.js;bundle-version="1.0.0", diff --git a/com.ibm.wala.ide.jsdt.tests/pom.xml b/com.ibm.wala.ide.jsdt.tests/pom.xml index 2dec26b64..6127b5f76 100644 --- a/com.ibm.wala.ide.jsdt.tests/pom.xml +++ b/com.ibm.wala.ide.jsdt.tests/pom.xml @@ -6,7 +6,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.ide.jsdt.tests diff --git a/com.ibm.wala.ide.jsdt/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.ide.jsdt/.settings/org.eclipse.jdt.core.prefs index 763f57919..a29f3bdb5 100644 --- a/com.ibm.wala.ide.jsdt/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.ide.jsdt/.settings/org.eclipse.jdt.core.prefs @@ -66,6 +66,7 @@ org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore org.eclipse.jdt.core.compiler.problem.unusedImport=warning org.eclipse.jdt.core.compiler.problem.unusedLabel=warning org.eclipse.jdt.core.compiler.problem.unusedLocal=warning diff --git a/com.ibm.wala.ide.jsdt/META-INF/MANIFEST.MF b/com.ibm.wala.ide.jsdt/META-INF/MANIFEST.MF index f6aef9e88..5f3c7745c 100644 --- a/com.ibm.wala.ide.jsdt/META-INF/MANIFEST.MF +++ b/com.ibm.wala.ide.jsdt/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Jsdt Bundle-SymbolicName: com.ibm.wala.ide.jsdt -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Activator: com.ibm.wala.ide.jsdt.Activator Bundle-Vendor: IBM Require-Bundle: org.eclipse.core.runtime, diff --git a/com.ibm.wala.ide.jsdt/pom.xml b/com.ibm.wala.ide.jsdt/pom.xml index a991004ee..a30aa5d5f 100644 --- a/com.ibm.wala.ide.jsdt/pom.xml +++ b/com.ibm.wala.ide.jsdt/pom.xml @@ -5,7 +5,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.ide.jsdt eclipse-plugin diff --git a/com.ibm.wala.ide.tests/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.ide.tests/.settings/org.eclipse.jdt.core.prefs index b01c06206..a93812f12 100644 --- a/com.ibm.wala.ide.tests/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.ide.tests/.settings/org.eclipse.jdt.core.prefs @@ -38,6 +38,7 @@ org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public diff --git a/com.ibm.wala.ide.tests/META-INF/MANIFEST.MF b/com.ibm.wala.ide.tests/META-INF/MANIFEST.MF index ff19f88c1..266b0a8ed 100644 --- a/com.ibm.wala.ide.tests/META-INF/MANIFEST.MF +++ b/com.ibm.wala.ide.tests/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: com.ibm.wala.ide.tests;singleton:=true -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Vendor: %providerName Require-Bundle: com.ibm.wala.shrike, com.ibm.wala.core, diff --git a/com.ibm.wala.ide.tests/pom.xml b/com.ibm.wala.ide.tests/pom.xml index e3df7c383..e3cd3f01f 100644 --- a/com.ibm.wala.ide.tests/pom.xml +++ b/com.ibm.wala.ide.tests/pom.xml @@ -5,7 +5,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.ide.tests eclipse-plugin diff --git a/com.ibm.wala.ide/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.ide/.settings/org.eclipse.jdt.core.prefs index b01c06206..5d928e964 100644 --- a/com.ibm.wala.ide/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.ide/.settings/org.eclipse.jdt.core.prefs @@ -38,6 +38,7 @@ org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public @@ -66,6 +67,7 @@ org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore org.eclipse.jdt.core.compiler.problem.unusedImport=warning org.eclipse.jdt.core.compiler.problem.unusedLabel=warning org.eclipse.jdt.core.compiler.problem.unusedLocal=warning diff --git a/com.ibm.wala.ide/META-INF/MANIFEST.MF b/com.ibm.wala.ide/META-INF/MANIFEST.MF index 0c47a5a21..a43d38007 100644 --- a/com.ibm.wala.ide/META-INF/MANIFEST.MF +++ b/com.ibm.wala.ide/META-INF/MANIFEST.MF @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2 Eclipse-LazyStart: true Bundle-Name: %pluginName Bundle-SymbolicName: com.ibm.wala.ide -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Activator: com.ibm.wala.ide.plugin.CorePlugin Bundle-Vendor: %providerName Bundle-Localization: plugin diff --git a/com.ibm.wala.ide/pom.xml b/com.ibm.wala.ide/pom.xml index 9e9b701d9..217f9f079 100644 --- a/com.ibm.wala.ide/pom.xml +++ b/com.ibm.wala.ide/pom.xml @@ -5,7 +5,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.ide eclipse-plugin diff --git a/com.ibm.wala.scandroid/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.scandroid/.settings/org.eclipse.jdt.core.prefs index 19abf0b1d..fd1f8bbea 100644 --- a/com.ibm.wala.scandroid/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.scandroid/.settings/org.eclipse.jdt.core.prefs @@ -5,5 +5,10 @@ org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 org.eclipse.jdt.core.compiler.compliance=1.7 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=no_tag +org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore org.eclipse.jdt.core.compiler.source=1.7 diff --git a/com.ibm.wala.scandroid/META-INF/MANIFEST.MF b/com.ibm.wala.scandroid/META-INF/MANIFEST.MF index 0fb263603..28e827dbc 100644 --- a/com.ibm.wala.scandroid/META-INF/MANIFEST.MF +++ b/com.ibm.wala.scandroid/META-INF/MANIFEST.MF @@ -2,12 +2,10 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: SCanDroid Bundle-SymbolicName: com.ibm.wala.scandroid -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Activator: com.ibm.wala.scandroid.Activator Bundle-Vendor: IBM -Require-Bundle: org.eclipse.ui, - org.eclipse.core.runtime, - com.ibm.wala.dalvik;bundle-version="1.3.4", +Require-Bundle: com.ibm.wala.dalvik;bundle-version="1.3.4", com.ibm.wala.core;bundle-version="1.3.4", com.ibm.wala.shrike;bundle-version="1.3.4" Bundle-RequiredExecutionEnvironment: JavaSE-1.7 diff --git a/com.ibm.wala.scandroid/mvncentral.xml b/com.ibm.wala.scandroid/mvncentral.xml new file mode 100644 index 000000000..fe4da36d4 --- /dev/null +++ b/com.ibm.wala.scandroid/mvncentral.xml @@ -0,0 +1,166 @@ + + + 4.0.0 + com.ibm.wala + com.ibm.wala.scandroid + 1.4.1 + jar + WALA Scandroid + WALA Scandroid taint analysis + http://wala.sourceforge.net + + + Eclipse Public License, Version 1.0 + https://www.eclipse.org/legal/epl-v10.html + + + + + Manu Sridharan + m.sridharan@samsung.com + Samsung Research America + http://www.sisa.samsung.com/ + + + + scm:git:git@github.com:wala/WALA.git + scm:git:git@github.com:example/example-application.git + git@github.com:example/example-application.git + + + + source + + + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + + + + com.ibm.wala + com.ibm.wala.core + 1.4.1 + + + com.ibm.wala + com.ibm.wala.shrike + 1.4.1 + + + com.ibm.wala + com.ibm.wala.dalvik + 1.4.1 + + + + + + sonatype-snapshots + https://oss.sonatype.org/content/repositories/snapshots/ + + + maven-jars-mvn-repo + https://raw.github.com/msridhar/maven-jars/mvn-repo/ + + + + + + jdk17 + + 1.7 + + + + + + + jdk18 + + 1.8 + + + -Xdoclint:none + + + + + + ${src.dir} + + + org.apache.maven.plugins + maven-compiler-plugin + 3.2 + + 1.7 + 1.7 + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.3 + true + + ossrh + https://oss.sonatype.org/ + true + + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + ${javadoc.options} + + 2.9.1 + + + attach-javadocs + + jar + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + + + diff --git a/com.ibm.wala.scandroid/pom.xml b/com.ibm.wala.scandroid/pom.xml index ded06d5ab..fb8e1f4d0 100644 --- a/com.ibm.wala.scandroid/pom.xml +++ b/com.ibm.wala.scandroid/pom.xml @@ -5,7 +5,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.scandroid eclipse-plugin diff --git a/com.ibm.wala.scandroid/source/com/ibm/wala/scandroid/Activator.java b/com.ibm.wala.scandroid/source/com/ibm/wala/scandroid/Activator.java deleted file mode 100644 index e886f887a..000000000 --- a/com.ibm.wala.scandroid/source/com/ibm/wala/scandroid/Activator.java +++ /dev/null @@ -1,60 +0,0 @@ -/****************************************************************************** - * Copyright (c) 2002 - 2006 IBM Corporation. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *****************************************************************************/ -package com.ibm.wala.scandroid; - -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.osgi.framework.BundleContext; - -/** - * The activator class controls the plug-in life cycle - */ -public class Activator extends AbstractUIPlugin { - - // The plug-in ID - public static final String PLUGIN_ID = "com.ibm.wala.scandroid"; //$NON-NLS-1$ - - // The shared instance - private static Activator plugin; - - /** - * The constructor - */ - public Activator() { - } - - /* - * (non-Javadoc) - * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) - */ - public void start(BundleContext context) throws Exception { - super.start(context); - plugin = this; - } - - /* - * (non-Javadoc) - * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) - */ - public void stop(BundleContext context) throws Exception { - plugin = null; - super.stop(context); - } - - /** - * Returns the shared instance - * - * @return the shared instance - */ - public static Activator getDefault() { - return plugin; - } - -} diff --git a/com.ibm.wala.scandroid/source/org/scandroid/flow/functions/IDTransferFunctions.java b/com.ibm.wala.scandroid/source/org/scandroid/flow/functions/IDTransferFunctions.java index cd9611e93..e07826f19 100644 --- a/com.ibm.wala.scandroid/source/org/scandroid/flow/functions/IDTransferFunctions.java +++ b/com.ibm.wala.scandroid/source/org/scandroid/flow/functions/IDTransferFunctions.java @@ -66,8 +66,6 @@ import com.ibm.wala.util.intset.SparseIntSet; public class IDTransferFunctions implements IFlowFunctionMap> { - @SuppressWarnings("unused") - public static final IntSet EMPTY_SET = new SparseIntSet(); public static final IntSet ZERO_SET = SparseIntSet.singleton(0); diff --git a/com.ibm.wala.scandroid/source/org/scandroid/synthmethod/XMLSummaryWriter.java b/com.ibm.wala.scandroid/source/org/scandroid/synthmethod/XMLSummaryWriter.java index 2d5453e7a..13c781b4a 100644 --- a/com.ibm.wala.scandroid/source/org/scandroid/synthmethod/XMLSummaryWriter.java +++ b/com.ibm.wala.scandroid/source/org/scandroid/synthmethod/XMLSummaryWriter.java @@ -175,7 +175,6 @@ public class XMLSummaryWriter { * No guarantees as to the state of the Document if an exception is thrown. * * @param summary - * @return * @throws DOMException * @throws UTFDataFormatException * @throws SSASerializationException diff --git a/com.ibm.wala.scandroid/source/org/scandroid/util/AndroidAnalysisContext.java b/com.ibm.wala.scandroid/source/org/scandroid/util/AndroidAnalysisContext.java index 14bfa66e0..2b1fa1b55 100644 --- a/com.ibm.wala.scandroid/source/org/scandroid/util/AndroidAnalysisContext.java +++ b/com.ibm.wala.scandroid/source/org/scandroid/util/AndroidAnalysisContext.java @@ -50,7 +50,6 @@ package org.scandroid.util; import java.io.File; -import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.net.URISyntaxException; @@ -116,8 +115,6 @@ public class AndroidAnalysisContext { /** * @param exclusions - * @param classpath - * @param packagename * @throws IOException * @throws IllegalArgumentException * @throws CancelException @@ -148,7 +145,7 @@ public class AndroidAnalysisContext { // ContextSelector, entry points, reflection options, IR Factory, call graph // type, include library public void buildGraphs(List localEntries, - InputStream summariesStream) throws CancelException { + InputStream summariesStream) { @@ -304,8 +301,7 @@ public class AndroidAnalysisContext { } private static XMLMethodSummaryReader loadMethodSummaries( - AnalysisScope scope, InputStream xmlIStream) - throws FileNotFoundException { + AnalysisScope scope, InputStream xmlIStream) { try (InputStream s = xmlIStream != null ? xmlIStream : AndroidAnalysisContext.class.getClassLoader() .getResourceAsStream( diff --git a/com.ibm.wala.scandroid/source/org/scandroid/util/CGAnalysisContext.java b/com.ibm.wala.scandroid/source/org/scandroid/util/CGAnalysisContext.java index 12071b30d..0961f79f1 100644 --- a/com.ibm.wala.scandroid/source/org/scandroid/util/CGAnalysisContext.java +++ b/com.ibm.wala.scandroid/source/org/scandroid/util/CGAnalysisContext.java @@ -87,7 +87,6 @@ import com.ibm.wala.ipa.callgraph.propagation.PointerKey; import com.ibm.wala.ipa.callgraph.propagation.SSAPropagationCallGraphBuilder; import com.ibm.wala.ipa.cfg.BasicBlockInContext; import com.ibm.wala.ipa.cha.ClassHierarchy; -import com.ibm.wala.ssa.IRFactory; import com.ibm.wala.ssa.ISSABasicBlock; import com.ibm.wala.ssa.SSACFG; import com.ibm.wala.ssa.SSACFG.BasicBlock; diff --git a/com.ibm.wala.scandroid/source/org/scandroid/util/DexDotUtil.java b/com.ibm.wala.scandroid/source/org/scandroid/util/DexDotUtil.java index d11ba341c..220c15e2f 100644 --- a/com.ibm.wala.scandroid/source/org/scandroid/util/DexDotUtil.java +++ b/com.ibm.wala.scandroid/source/org/scandroid/util/DexDotUtil.java @@ -242,11 +242,11 @@ public class DexDotUtil extends DotUtil { /** * Compute the nodes to visualize */ - private static Collection computeDotNodes(Graph g) throws WalaException { + private static Collection computeDotNodes(Graph g) { return Iterator2Collection.toSet(g.iterator()); } - private static String getRankDir() throws WalaException { + private static String getRankDir() { return null; } @@ -254,7 +254,7 @@ public class DexDotUtil extends DotUtil { * @param n node to decorate * @param d decorating master */ - private static String decorateNode(T n, NodeDecorator d) throws WalaException { + private static String decorateNode(T n, NodeDecorator d) { StringBuffer result = new StringBuffer(); result.append(" [ ]\n"); return result.toString(); diff --git a/com.ibm.wala.scandroid/source/org/scandroid/util/EntryPoints.java b/com.ibm.wala.scandroid/source/org/scandroid/util/EntryPoints.java index 43a3cf3d8..0c6c639ec 100644 --- a/com.ibm.wala.scandroid/source/org/scandroid/util/EntryPoints.java +++ b/com.ibm.wala.scandroid/source/org/scandroid/util/EntryPoints.java @@ -288,7 +288,7 @@ public class EntryPoints { private static String getTagValue(String sTag, Element eElement) { NodeList nlList = eElement.getElementsByTagName(sTag).item(0).getChildNodes(); - Node nValue = (Node) nlList.item(0); + Node nValue = nlList.item(0); return nValue.getNodeValue(); } diff --git a/com.ibm.wala.shrike/.settings/org.eclipse.jdt.core.prefs b/com.ibm.wala.shrike/.settings/org.eclipse.jdt.core.prefs index a0962ace8..f4fe0b996 100644 --- a/com.ibm.wala.shrike/.settings/org.eclipse.jdt.core.prefs +++ b/com.ibm.wala.shrike/.settings/org.eclipse.jdt.core.prefs @@ -48,6 +48,7 @@ org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public @@ -76,6 +77,7 @@ org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore org.eclipse.jdt.core.compiler.problem.unusedImport=warning org.eclipse.jdt.core.compiler.problem.unusedLabel=warning org.eclipse.jdt.core.compiler.problem.unusedLocal=warning diff --git a/com.ibm.wala.shrike/META-INF/MANIFEST.MF b/com.ibm.wala.shrike/META-INF/MANIFEST.MF index 41b62128d..844d7a3bc 100644 --- a/com.ibm.wala.shrike/META-INF/MANIFEST.MF +++ b/com.ibm.wala.shrike/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: com.ibm.wala.shrike -Bundle-Version: 1.4.1.qualifier +Bundle-Version: 1.4.1 Bundle-Vendor: %providerName Bundle-ActivationPolicy: lazy Bundle-Localization: plugin diff --git a/com.ibm.wala.shrike/mvncentral.xml b/com.ibm.wala.shrike/mvncentral.xml index d7fe0ca66..2ee4c5540 100644 --- a/com.ibm.wala.shrike/mvncentral.xml +++ b/com.ibm.wala.shrike/mvncentral.xml @@ -5,7 +5,7 @@ 4.0.0 com.ibm.wala com.ibm.wala.shrike - 1.4.1-SNAPSHOT + 1.4.1 jar WALA Shrike WALA Shrike library for bytecode reading and instrumentation @@ -45,7 +45,7 @@ com.ibm.wala com.ibm.wala.util - 1.4.1-SNAPSHOT + 1.4.1 diff --git a/com.ibm.wala.shrike/pom.xml b/com.ibm.wala.shrike/pom.xml index 8a7be70a9..a103eaf5e 100644 --- a/com.ibm.wala.shrike/pom.xml +++ b/com.ibm.wala.shrike/pom.xml @@ -5,7 +5,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.shrike eclipse-plugin diff --git a/com.ibm.wala.shrike/src/com/ibm/wala/shrikeCT/ClassReader.java b/com.ibm.wala.shrike/src/com/ibm/wala/shrikeCT/ClassReader.java index 8a4007e26..950fb1fba 100644 --- a/com.ibm.wala.shrike/src/com/ibm/wala/shrikeCT/ClassReader.java +++ b/com.ibm.wala.shrike/src/com/ibm/wala/shrikeCT/ClassReader.java @@ -330,7 +330,7 @@ public final class ClassReader implements ClassConstants { * @return the unsigned 8-bit value at offset i in the class data */ public int getUnsignedByte(int i) { - return ((int) bytes[i]) & 0xff; + return bytes[i] & 0xff; } /** diff --git a/com.ibm.wala.shrike/src/com/ibm/wala/shrikeCT/ConstantPoolParser.java b/com.ibm.wala.shrike/src/com/ibm/wala/shrikeCT/ConstantPoolParser.java index 7efc0af73..3b89e320a 100644 --- a/com.ibm.wala.shrike/src/com/ibm/wala/shrikeCT/ConstantPoolParser.java +++ b/com.ibm.wala.shrike/src/com/ibm/wala/shrikeCT/ConstantPoolParser.java @@ -119,7 +119,6 @@ public final class ConstantPoolParser implements ClassConstants { * @param bytes the raw class file data * @param offset the start of the constant pool data * @param itemCount the number of items in the pool - * @param classReader */ public ConstantPoolParser(byte[] bytes, int offset, int itemCount) throws InvalidClassFileException { this.bytes = bytes; diff --git a/com.ibm.wala.tests-feature/feature.xml b/com.ibm.wala.tests-feature/feature.xml index 242d89391..a001aa3a8 100644 --- a/com.ibm.wala.tests-feature/feature.xml +++ b/com.ibm.wala.tests-feature/feature.xml @@ -2,7 +2,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.tests-feature eclipse-feature diff --git a/com.ibm.wala.tests.ide-feature/feature.xml b/com.ibm.wala.tests.ide-feature/feature.xml index f6ab131b8..a8dfaddfe 100644 --- a/com.ibm.wala.tests.ide-feature/feature.xml +++ b/com.ibm.wala.tests.ide-feature/feature.xml @@ -2,7 +2,7 @@ 4.0.0 com.ibm.wala com.ibm.wala.util - 1.4.1-SNAPSHOT + 1.4.1 jar WALA utilities Utility library included with the T. J. Watson diff --git a/com.ibm.wala.util/pom.xml b/com.ibm.wala.util/pom.xml index 5446ec9ce..1994fe339 100644 --- a/com.ibm.wala.util/pom.xml +++ b/com.ibm.wala.util/pom.xml @@ -5,7 +5,7 @@ WALA com.ibm.wala - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.util eclipse-plugin diff --git a/com.ibm.wala.util/src/com/ibm/wala/dataflow/graph/BitVectorIntersection.java b/com.ibm.wala.util/src/com/ibm/wala/dataflow/graph/BitVectorIntersection.java index 9f2153fcf..64253df57 100644 --- a/com.ibm.wala.util/src/com/ibm/wala/dataflow/graph/BitVectorIntersection.java +++ b/com.ibm.wala.util/src/com/ibm/wala/dataflow/graph/BitVectorIntersection.java @@ -12,14 +12,13 @@ package com.ibm.wala.dataflow.graph; import com.ibm.wala.fixpoint.BitVectorVariable; -import com.ibm.wala.fixpoint.FixedPointConstants; import com.ibm.wala.util.intset.IntSet; import com.ibm.wala.util.intset.IntSetAction; /** * Operator U(n) = U(n) n U(j) */ -public final class BitVectorIntersection extends AbstractMeetOperator implements FixedPointConstants { +public final class BitVectorIntersection extends AbstractMeetOperator { private static final BitVectorIntersection INSTANCE = new BitVectorIntersection(); diff --git a/com.ibm.wala.util/src/com/ibm/wala/dataflow/graph/BitVectorUnion.java b/com.ibm.wala.util/src/com/ibm/wala/dataflow/graph/BitVectorUnion.java index 8baa98986..cf891e02f 100644 --- a/com.ibm.wala.util/src/com/ibm/wala/dataflow/graph/BitVectorUnion.java +++ b/com.ibm.wala.util/src/com/ibm/wala/dataflow/graph/BitVectorUnion.java @@ -11,12 +11,11 @@ package com.ibm.wala.dataflow.graph; import com.ibm.wala.fixpoint.BitVectorVariable; -import com.ibm.wala.fixpoint.FixedPointConstants; /** * Operator U(n) = U(n) U U(j) */ -public class BitVectorUnion extends AbstractMeetOperator implements FixedPointConstants { +public class BitVectorUnion extends AbstractMeetOperator { private final static BitVectorUnion SINGLETON = new BitVectorUnion(); diff --git a/com.ibm.wala.util/src/com/ibm/wala/dataflow/graph/BooleanUnion.java b/com.ibm.wala.util/src/com/ibm/wala/dataflow/graph/BooleanUnion.java index 022926824..4a593375a 100644 --- a/com.ibm.wala.util/src/com/ibm/wala/dataflow/graph/BooleanUnion.java +++ b/com.ibm.wala.util/src/com/ibm/wala/dataflow/graph/BooleanUnion.java @@ -11,12 +11,11 @@ package com.ibm.wala.dataflow.graph; import com.ibm.wala.fixpoint.BooleanVariable; -import com.ibm.wala.fixpoint.FixedPointConstants; /** * Operator U(n) = U(n) U U(j) */ -public class BooleanUnion extends AbstractMeetOperator implements FixedPointConstants { +public class BooleanUnion extends AbstractMeetOperator { private final static BooleanUnion SINGLETON = new BooleanUnion(); diff --git a/com.ibm.wala.util/src/com/ibm/wala/fixedpoint/impl/NullaryOperator.java b/com.ibm.wala.util/src/com/ibm/wala/fixedpoint/impl/NullaryOperator.java index 5dc78b970..96f68d30f 100644 --- a/com.ibm.wala.util/src/com/ibm/wala/fixedpoint/impl/NullaryOperator.java +++ b/com.ibm.wala.util/src/com/ibm/wala/fixedpoint/impl/NullaryOperator.java @@ -12,14 +12,13 @@ package com.ibm.wala.fixedpoint.impl; import com.ibm.wala.fixpoint.AbstractOperator; -import com.ibm.wala.fixpoint.FixedPointConstants; import com.ibm.wala.fixpoint.IVariable; /** * An operator of the form lhs = op */ @SuppressWarnings("rawtypes") -public abstract class NullaryOperator extends AbstractOperator implements FixedPointConstants { +public abstract class NullaryOperator extends AbstractOperator { @Override public byte evaluate(T lhs, T[] rhs) throws UnsupportedOperationException { diff --git a/com.ibm.wala.util/src/com/ibm/wala/fixpoint/UnaryOperator.java b/com.ibm.wala.util/src/com/ibm/wala/fixpoint/UnaryOperator.java index a8f161393..f849ffc59 100644 --- a/com.ibm.wala.util/src/com/ibm/wala/fixpoint/UnaryOperator.java +++ b/com.ibm.wala.util/src/com/ibm/wala/fixpoint/UnaryOperator.java @@ -17,7 +17,7 @@ import com.ibm.wala.util.debug.UnimplementedError; * An operator of the form lhs = op (rhs) */ @SuppressWarnings("rawtypes") -public abstract class UnaryOperator extends AbstractOperator implements FixedPointConstants { +public abstract class UnaryOperator extends AbstractOperator { /** * Evaluate this equation, setting a new value for the left-hand side. diff --git a/com.ibm.wala.util/src/com/ibm/wala/util/CancelException.java b/com.ibm.wala.util/src/com/ibm/wala/util/CancelException.java index 935c9bbc0..b6275eed2 100644 --- a/com.ibm.wala.util/src/com/ibm/wala/util/CancelException.java +++ b/com.ibm.wala.util/src/com/ibm/wala/util/CancelException.java @@ -14,6 +14,7 @@ package com.ibm.wala.util; * An exception for when work is canceled in eclipse. This version forces every API that uses it to declare it. Use * {@link CancelRuntimeException} to avoid the need to declare a cancel exception. */ +@SuppressWarnings("javadoc") public class CancelException extends Exception { protected CancelException(String msg) { diff --git a/com.ibm.wala.util/src/com/ibm/wala/util/Predicate.java b/com.ibm.wala.util/src/com/ibm/wala/util/Predicate.java index a837fce66..a1725583e 100644 --- a/com.ibm.wala.util/src/com/ibm/wala/util/Predicate.java +++ b/com.ibm.wala.util/src/com/ibm/wala/util/Predicate.java @@ -57,12 +57,10 @@ public abstract class Predicate { @SuppressWarnings("rawtypes") public static final Predicate TRUE = FALSE.not(); - @SuppressWarnings("unchecked") public static Predicate truePred() { return TRUE; } - @SuppressWarnings("unchecked") public static Predicate falsePred() { return FALSE; } diff --git a/com.ibm.wala.util/src/com/ibm/wala/util/collections/EmptyIterator.java b/com.ibm.wala.util/src/com/ibm/wala/util/collections/EmptyIterator.java index f053dbbed..c7dc89e0f 100644 --- a/com.ibm.wala.util/src/com/ibm/wala/util/collections/EmptyIterator.java +++ b/com.ibm.wala.util/src/com/ibm/wala/util/collections/EmptyIterator.java @@ -22,7 +22,6 @@ public final class EmptyIterator implements Iterator { @SuppressWarnings("rawtypes") private static final EmptyIterator EMPTY = new EmptyIterator(); - @SuppressWarnings("unchecked") public static EmptyIterator instance() { return EMPTY; } diff --git a/com.ibm.wala.util/src/com/ibm/wala/util/collections/IteratorUtil.java b/com.ibm.wala.util/src/com/ibm/wala/util/collections/IteratorUtil.java index 8a887d6ec..199f2a300 100644 --- a/com.ibm.wala.util/src/com/ibm/wala/util/collections/IteratorUtil.java +++ b/com.ibm.wala.util/src/com/ibm/wala/util/collections/IteratorUtil.java @@ -46,7 +46,6 @@ public class IteratorUtil { return count; } - @SuppressWarnings("deprecation") public static Iterator filter(Iterator iterator, final Class cls) { return new MapIterator<>( new FilterIterator(iterator, new Predicate() { diff --git a/com.ibm.wala.util/src/com/ibm/wala/util/collections/ToStringComparator.java b/com.ibm.wala.util/src/com/ibm/wala/util/collections/ToStringComparator.java index 161fc3d19..6e4b29bef 100644 --- a/com.ibm.wala.util/src/com/ibm/wala/util/collections/ToStringComparator.java +++ b/com.ibm.wala.util/src/com/ibm/wala/util/collections/ToStringComparator.java @@ -36,7 +36,6 @@ public class ToStringComparator implements Comparator { return o1.toString().compareTo(o2.toString()); } - @SuppressWarnings("unchecked") public static ToStringComparator instance() { return INSTANCE; } diff --git a/com.ibm.wala.util/src/com/ibm/wala/util/config/FileOfClasses.java b/com.ibm.wala.util/src/com/ibm/wala/util/config/FileOfClasses.java index 748b9c02f..b291bff84 100644 --- a/com.ibm.wala.util/src/com/ibm/wala/util/config/FileOfClasses.java +++ b/com.ibm.wala.util/src/com/ibm/wala/util/config/FileOfClasses.java @@ -14,14 +14,13 @@ import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; -import java.io.Serializable; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * An object which represents a set of classes read from a text file. */ -public class FileOfClasses extends SetOfClasses implements Serializable { +public class FileOfClasses extends SetOfClasses { /* Serial version */ private static final long serialVersionUID = -3256390509887654322L; diff --git a/com.ibm.wala.util/src/com/ibm/wala/util/config/SetOfClasses.java b/com.ibm.wala.util/src/com/ibm/wala/util/config/SetOfClasses.java index 08dce7a50..5ff94eefa 100644 --- a/com.ibm.wala.util/src/com/ibm/wala/util/config/SetOfClasses.java +++ b/com.ibm.wala.util/src/com/ibm/wala/util/config/SetOfClasses.java @@ -14,7 +14,7 @@ import java.io.Serializable; import java.util.Set; /** - * Logically, a set of {@link IClass}. + * Logically, a set of {@link Class}. * * TODO: why does this not extend {@link Set}? Is there a good reason anymore? */ diff --git a/com.ibm.wala.util/src/com/ibm/wala/util/graph/traverse/NumberedDFSDiscoverTimeIterator.java b/com.ibm.wala.util/src/com/ibm/wala/util/graph/traverse/NumberedDFSDiscoverTimeIterator.java index f50a767ce..184ce84a1 100644 --- a/com.ibm.wala.util/src/com/ibm/wala/util/graph/traverse/NumberedDFSDiscoverTimeIterator.java +++ b/com.ibm.wala.util/src/com/ibm/wala/util/graph/traverse/NumberedDFSDiscoverTimeIterator.java @@ -20,7 +20,7 @@ import com.ibm.wala.util.graph.NumberedGraph; * increasing discover time. This class follows the outNodes of the graph nodes to define the graph, but this behavior can be * changed by overriding the getConnected method. */ -public class NumberedDFSDiscoverTimeIterator extends GraphDFSDiscoverTimeIterator implements Iterator { +public class NumberedDFSDiscoverTimeIterator extends GraphDFSDiscoverTimeIterator { private static final long serialVersionUID = -3919708273323217304L; diff --git a/com.ibm.wala.util/src/com/ibm/wala/util/graph/traverse/NumberedDFSFinishTimeIterator.java b/com.ibm.wala.util/src/com/ibm/wala/util/graph/traverse/NumberedDFSFinishTimeIterator.java index e1ca56098..4df7846e6 100644 --- a/com.ibm.wala.util/src/com/ibm/wala/util/graph/traverse/NumberedDFSFinishTimeIterator.java +++ b/com.ibm.wala.util/src/com/ibm/wala/util/graph/traverse/NumberedDFSFinishTimeIterator.java @@ -20,7 +20,7 @@ import com.ibm.wala.util.graph.NumberedGraph; * increasing discover time. This class follows the outNodes of the graph nodes to define the graph, but this behavior can be * changed by overriding the getConnected method. */ -public class NumberedDFSFinishTimeIterator extends DFSFinishTimeIterator implements Iterator { +public class NumberedDFSFinishTimeIterator extends DFSFinishTimeIterator { public static final long serialVersionUID = 8737376661L; /** diff --git a/com.ibm.wala.util/src/com/ibm/wala/util/graph/traverse/SlowDFSDiscoverTimeIterator.java b/com.ibm.wala.util/src/com/ibm/wala/util/graph/traverse/SlowDFSDiscoverTimeIterator.java index 5a7b988eb..0b525fdd1 100644 --- a/com.ibm.wala.util/src/com/ibm/wala/util/graph/traverse/SlowDFSDiscoverTimeIterator.java +++ b/com.ibm.wala.util/src/com/ibm/wala/util/graph/traverse/SlowDFSDiscoverTimeIterator.java @@ -22,7 +22,7 @@ import com.ibm.wala.util.graph.Graph; * discover time. This class follows the outNodes of the graph nodes to define the graph, but this behavior can be changed by * overriding the getConnected method. */ -public class SlowDFSDiscoverTimeIterator extends GraphDFSDiscoverTimeIterator implements Iterator { +public class SlowDFSDiscoverTimeIterator extends GraphDFSDiscoverTimeIterator { public static final long serialVersionUID = 9439217987188L; /** diff --git a/com.ibm.wala.util/src/com/ibm/wala/util/intset/BitVector.java b/com.ibm.wala.util/src/com/ibm/wala/util/intset/BitVector.java index 3d6440a8a..7cafcb75a 100644 --- a/com.ibm.wala.util/src/com/ibm/wala/util/intset/BitVector.java +++ b/com.ibm.wala.util/src/com/ibm/wala/util/intset/BitVector.java @@ -10,11 +10,9 @@ *******************************************************************************/ package com.ibm.wala.util.intset; -import java.io.Serializable; - /** */ -public class BitVector extends BitVectorBase implements Serializable { +public class BitVector extends BitVectorBase { private static final long serialVersionUID = 9087259335807761617L; diff --git a/com.ibm.wala.util/src/com/ibm/wala/util/intset/MutableSparseIntSet.java b/com.ibm.wala.util/src/com/ibm/wala/util/intset/MutableSparseIntSet.java index 8d3ed83c1..22232cada 100644 --- a/com.ibm.wala.util/src/com/ibm/wala/util/intset/MutableSparseIntSet.java +++ b/com.ibm.wala.util/src/com/ibm/wala/util/intset/MutableSparseIntSet.java @@ -10,8 +10,6 @@ *******************************************************************************/ package com.ibm.wala.util.intset; -import java.io.Serializable; - import com.ibm.wala.util.debug.Assertions; /** @@ -23,7 +21,7 @@ import com.ibm.wala.util.debug.Assertions; * TODO: even for small sets, we probably want to work on this to reduce the * allocation activity. */ -public class MutableSparseIntSet extends SparseIntSet implements MutableIntSet, Serializable { +public class MutableSparseIntSet extends SparseIntSet implements MutableIntSet { /** * If forced to grow the backing array .. then by how much diff --git a/com.ibm.wala.util/src/com/ibm/wala/util/intset/OrdinalSet.java b/com.ibm.wala.util/src/com/ibm/wala/util/intset/OrdinalSet.java index ca6cf4bea..3b620bec6 100644 --- a/com.ibm.wala.util/src/com/ibm/wala/util/intset/OrdinalSet.java +++ b/com.ibm.wala.util/src/com/ibm/wala/util/intset/OrdinalSet.java @@ -29,7 +29,6 @@ public class OrdinalSet implements Iterable { @SuppressWarnings("rawtypes") private final static OrdinalSet EMPTY = new OrdinalSet(); - @SuppressWarnings("unchecked") public static OrdinalSet empty() { return EMPTY; } diff --git a/com.ibm.wala.util/src/com/ibm/wala/util/intset/SparseIntSet.java b/com.ibm.wala.util/src/com/ibm/wala/util/intset/SparseIntSet.java index bb94337f0..a87212a5e 100644 --- a/com.ibm.wala.util/src/com/ibm/wala/util/intset/SparseIntSet.java +++ b/com.ibm.wala.util/src/com/ibm/wala/util/intset/SparseIntSet.java @@ -10,7 +10,6 @@ *******************************************************************************/ package com.ibm.wala.util.intset; -import java.io.Serializable; import java.util.Iterator; import java.util.NoSuchElementException; import java.util.StringTokenizer; @@ -22,7 +21,7 @@ import com.ibm.wala.util.debug.UnimplementedError; /** * A sparse ordered, duplicate-free, fully-encapsulated set of integers; not necessary mutable */ -public class SparseIntSet implements IntSet, Serializable { +public class SparseIntSet implements IntSet { private final static int SINGLETON_CACHE_SIZE = 5000; diff --git a/pom.xml b/pom.xml index c0b0c39aa..2dc07c36a 100644 --- a/pom.xml +++ b/pom.xml @@ -5,10 +5,10 @@ 4.0.0 com.ibm.wala WALA - 1.4.1-SNAPSHOT + 1.4.1 pom - 1.4.1-SNAPSHOT + 1.4.1 UTF-8 b000 0.23.1 diff --git a/targets/e42/pom.xml b/targets/e42/pom.xml index 6c5a48575..b6a8d6658 100644 --- a/targets/e42/pom.xml +++ b/targets/e42/pom.xml @@ -5,7 +5,7 @@ com.ibm.wala.target targets - 1.4.1-SNAPSHOT + 1.4.1 e42 eclipse-target-definition diff --git a/targets/e44/pom.xml b/targets/e44/pom.xml index 7157a7fe5..607675c63 100644 --- a/targets/e44/pom.xml +++ b/targets/e44/pom.xml @@ -5,7 +5,7 @@ com.ibm.wala.target targets - 1.4.1-SNAPSHOT + 1.4.1 e44 eclipse-target-definition diff --git a/targets/pom.xml b/targets/pom.xml index b95733c5c..0ce90adb5 100644 --- a/targets/pom.xml +++ b/targets/pom.xml @@ -5,7 +5,7 @@ com.ibm.wala WALA - 1.4.1-SNAPSHOT + 1.4.1 com.ibm.wala.target targets