Suppress several unfixable warnings about unresolved type references

Fixing these Javadoc comments would require adding packages to various
other packages' build paths.  In some of the cases suppressed,
changing build paths in that manner would create circular build
dependencies.  In other cases, it would simply add a Javadoc-motivated
dependency that does not exist for the real code, which seems
undesirable.  For a few cases, the reference seems to be to types in
code we don't even have here, such as code from "android" or
"org.mozilla" packages.
This commit is contained in:
Ben Liblit 2017-03-22 18:26:05 -05:00
parent 3b88836488
commit 323224504a
7 changed files with 12 additions and 2 deletions

View File

@ -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;
}

View File

@ -108,6 +108,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;

View File

@ -25,6 +25,7 @@ import com.ibm.wala.util.collections.Pair;
*
* @see JSSSAPropagationCallGraphBuilder
*/
@SuppressWarnings("javadoc")
public class GlobalObjectKey implements InstanceKey {
private final IClass concreteType;

View File

@ -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 {

View File

@ -82,6 +82,7 @@ import com.ibm.wala.util.strings.Atom;
* @author Tobias Blaschke <code@tobiasblaschke.de>
* @since 2013-09-08
*/
@SuppressWarnings("javadoc")
public class VolatileMethodSummary {
private static final boolean DEBUG = false;

View File

@ -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();

View File

@ -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) {