public class DeepSubtypeAnalysis extends 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(String x,
String y)
Given two JavaClasses, try to estimate the probability that an reference
of type x is also an instance of type y.
|
static String |
getComponentClass(org.apache.bcel.generic.ReferenceType refType) |
static String |
getComponentClass(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(String refSig) |
static double |
isDeepSerializable(org.apache.bcel.classfile.JavaClass x) |
static double |
isDeepSerializable(org.apache.bcel.generic.ReferenceType type) |
static double |
isDeepSerializable(String refSig) |
public static double isDeepSerializable(org.apache.bcel.generic.ReferenceType type)
throws ClassNotFoundException
ClassNotFoundExceptionpublic static org.apache.bcel.generic.ReferenceType getLeastSerializableTypeComponent(org.apache.bcel.generic.ReferenceType type)
throws ClassNotFoundException
ClassNotFoundExceptionpublic static double isDeepSerializable(@DottedClassName String refSig) throws ClassNotFoundException
ClassNotFoundExceptionpublic static double isDeepRemote(org.apache.bcel.generic.ReferenceType refType)
public static double isDeepRemote(String refSig)
public static String getComponentClass(org.apache.bcel.generic.ReferenceType refType)
public static double isDeepSerializable(org.apache.bcel.classfile.JavaClass x)
throws ClassNotFoundException
ClassNotFoundExceptionpublic static double deepInstanceOf(@DottedClassName String x, @DottedClassName String y) throws ClassNotFoundException
x - Known type of objecty - Type queried aboutClassNotFoundExceptionpublic static double deepInstanceOf(org.apache.bcel.classfile.JavaClass x,
org.apache.bcel.classfile.JavaClass y)
throws ClassNotFoundException
x - Known type of objecty - Type queried aboutClassNotFoundExceptionCopyright © 2003–2015. All rights reserved.