public class DeepSubtypeAnalysis
extends java.lang.Object
Constructor and Description |
---|
DeepSubtypeAnalysis() |
Modifier and Type | Method and Description |
---|---|
static double |
deepInstanceOf(org.apache.bcel.classfile.JavaClass x,
org.apache.bcel.classfile.JavaClass y)
Given two JavaClasses, try to estimate the probability that an reference
of type x is also an instance of type y.
|
static double |
deepInstanceOf(java.lang.String x,
java.lang.String y)
Given two JavaClasses, try to estimate the probability that an reference
of type x is also an instance of type y.
|
static java.lang.String |
getComponentClass(org.apache.bcel.generic.ReferenceType refType) |
static java.lang.String |
getComponentClass(java.lang.String refSig) |
static org.apache.bcel.generic.ReferenceType |
getLeastSerializableTypeComponent(org.apache.bcel.generic.ReferenceType type) |
static double |
isDeepRemote(org.apache.bcel.generic.ReferenceType refType) |
static double |
isDeepRemote(java.lang.String refSig) |
static double |
isDeepSerializable(org.apache.bcel.classfile.JavaClass x) |
static double |
isDeepSerializable(org.apache.bcel.generic.ReferenceType type) |
static double |
isDeepSerializable(java.lang.String refSig) |
public static double isDeepSerializable(org.apache.bcel.generic.ReferenceType type) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public static org.apache.bcel.generic.ReferenceType getLeastSerializableTypeComponent(org.apache.bcel.generic.ReferenceType type) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public static double isDeepSerializable(@DottedClassName java.lang.String refSig) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public static double isDeepRemote(org.apache.bcel.generic.ReferenceType refType)
public static double isDeepRemote(java.lang.String refSig)
public static java.lang.String getComponentClass(org.apache.bcel.generic.ReferenceType refType)
public static java.lang.String getComponentClass(java.lang.String refSig)
public static double isDeepSerializable(org.apache.bcel.classfile.JavaClass x) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public static double deepInstanceOf(@DottedClassName java.lang.String x, @DottedClassName java.lang.String y) throws java.lang.ClassNotFoundException
x
- Known type of objecty
- Type queried aboutjava.lang.ClassNotFoundException
public static double deepInstanceOf(org.apache.bcel.classfile.JavaClass x, org.apache.bcel.classfile.JavaClass y) throws java.lang.ClassNotFoundException
x
- Known type of objecty
- Type queried aboutjava.lang.ClassNotFoundException
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.