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:
parent
3b88836488
commit
323224504a
|
@ -49,6 +49,7 @@ final class IntWrapper extends PrimitiveWrapper {
|
||||||
* @see com.ibm.miniatur.tests.sequential.PrimitiveWrapper#intValue()
|
* @see com.ibm.miniatur.tests.sequential.PrimitiveWrapper#intValue()
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@SuppressWarnings("javadoc")
|
||||||
public int intValue() {
|
public int intValue() {
|
||||||
return val;
|
return val;
|
||||||
}
|
}
|
||||||
|
@ -58,6 +59,7 @@ final class IntWrapper extends PrimitiveWrapper {
|
||||||
* @see com.ibm.miniatur.tests.sequential.PrimitiveWrapper#setIntValue(int)
|
* @see com.ibm.miniatur.tests.sequential.PrimitiveWrapper#setIntValue(int)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@SuppressWarnings("javadoc")
|
||||||
public void setIntValue(int i) {
|
public void setIntValue(int i) {
|
||||||
this.val = i;
|
this.val = i;
|
||||||
}
|
}
|
||||||
|
@ -67,6 +69,7 @@ final class IntWrapper extends PrimitiveWrapper {
|
||||||
* @see com.ibm.miniatur.tests.sequential.PrimitiveWrapper#equals(java.lang.Object)
|
* @see com.ibm.miniatur.tests.sequential.PrimitiveWrapper#equals(java.lang.Object)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@SuppressWarnings("javadoc")
|
||||||
public boolean equals(Object o) {
|
public boolean equals(Object o) {
|
||||||
return o instanceof IntWrapper && ((IntWrapper)o).val==val;
|
return o instanceof IntWrapper && ((IntWrapper)o).val==val;
|
||||||
}
|
}
|
||||||
|
|
|
@ -108,6 +108,7 @@ import com.ibm.wala.util.strings.Atom;
|
||||||
* reference to a global named {@link #GLOBAL_OBJ_VAR_NAME}, which is handled
|
* reference to a global named {@link #GLOBAL_OBJ_VAR_NAME}, which is handled
|
||||||
* specially in {@link JSConstraintVisitor#visitAstGlobalRead(AstGlobalRead)}.
|
* specially in {@link JSConstraintVisitor#visitAstGlobalRead(AstGlobalRead)}.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("javadoc")
|
||||||
public class JSSSAPropagationCallGraphBuilder extends AstSSAPropagationCallGraphBuilder {
|
public class JSSSAPropagationCallGraphBuilder extends AstSSAPropagationCallGraphBuilder {
|
||||||
|
|
||||||
public static final boolean DEBUG_LEXICAL = false;
|
public static final boolean DEBUG_LEXICAL = false;
|
||||||
|
|
|
@ -25,6 +25,7 @@ import com.ibm.wala.util.collections.Pair;
|
||||||
*
|
*
|
||||||
* @see JSSSAPropagationCallGraphBuilder
|
* @see JSSSAPropagationCallGraphBuilder
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("javadoc")
|
||||||
public class GlobalObjectKey implements InstanceKey {
|
public class GlobalObjectKey implements InstanceKey {
|
||||||
|
|
||||||
private final IClass concreteType;
|
private final IClass concreteType;
|
||||||
|
|
|
@ -18,6 +18,7 @@ import java.lang.reflect.Method;
|
||||||
* A test targeting the {@link com.ibm.wala.analysis.reflection.GetMethodContext}.
|
* A test targeting the {@link com.ibm.wala.analysis.reflection.GetMethodContext}.
|
||||||
* @author Michael Heilmann
|
* @author Michael Heilmann
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("javadoc")
|
||||||
public class GetMethodContext {
|
public class GetMethodContext {
|
||||||
|
|
||||||
public static class A {
|
public static class A {
|
||||||
|
|
|
@ -82,6 +82,7 @@ import com.ibm.wala.util.strings.Atom;
|
||||||
* @author Tobias Blaschke <code@tobiasblaschke.de>
|
* @author Tobias Blaschke <code@tobiasblaschke.de>
|
||||||
* @since 2013-09-08
|
* @since 2013-09-08
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("javadoc")
|
||||||
public class VolatileMethodSummary {
|
public class VolatileMethodSummary {
|
||||||
|
|
||||||
private static final boolean DEBUG = false;
|
private static final boolean DEBUG = false;
|
||||||
|
|
|
@ -179,7 +179,8 @@ public class AndroidBoot {
|
||||||
*
|
*
|
||||||
* @see android.app.ContextImpl.createPackageContextAsUser
|
* @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");
|
final SSAValue systemContext = this.pm.getUnmanaged(AndroidTypes.ContextImpl, "systemContextImpl");
|
||||||
{ // Call ContextImpl.getSystemContext()
|
{ // Call ContextImpl.getSystemContext()
|
||||||
final int pc = this.body.getNextProgramCounter();
|
final int pc = this.body.getNextProgramCounter();
|
||||||
|
@ -211,7 +212,8 @@ public class AndroidBoot {
|
||||||
*
|
*
|
||||||
* @see android.app.ContextImpl.createPackageContextAsUser
|
* @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");
|
final SSAValue packageContext = this.pm.getUnmanaged(AndroidTypes.ContextImpl, "packageContextImpl");
|
||||||
{ // New-Site
|
{ // New-Site
|
||||||
final int pc = this.body.getNextProgramCounter();
|
final int pc = this.body.getNextProgramCounter();
|
||||||
|
|
|
@ -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
|
* 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.
|
* {@link CancelRuntimeException} to avoid the need to declare a cancel exception.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("javadoc")
|
||||||
public class CancelException extends Exception {
|
public class CancelException extends Exception {
|
||||||
|
|
||||||
protected CancelException(String msg) {
|
protected CancelException(String msg) {
|
||||||
|
|
Loading…
Reference in New Issue