public final class XClassUtils
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
private |
XClassUtils()
private to enforce the helper nature of this static class
|
| Modifier and Type | Method and Description |
|---|---|
static edu.umd.cs.findbugs.ba.XClass |
getXClass(edu.umd.cs.findbugs.classfile.ClassDescriptor classDesc)
Returns an
XClass object for the given ClassDescriptor object. |
static edu.umd.cs.findbugs.ba.XClass |
getXClass(java.lang.String slashedClassName)
Returns an
XClass object for the given slashed class name. |
static edu.umd.cs.findbugs.ba.XMethod |
getXMethod(java.lang.String slashedClassName,
java.lang.String methodName,
java.lang.String methodSig)
Looks for the method up the class hierarchy.
|
static edu.umd.cs.findbugs.ba.XMethod |
getXMethod(edu.umd.cs.findbugs.ba.XClass xClass,
java.lang.String methodName,
java.lang.String methodSig)
Looks for the method up the class hierarchy.
|
private XClassUtils()
public static edu.umd.cs.findbugs.ba.XClass getXClass(edu.umd.cs.findbugs.classfile.ClassDescriptor classDesc)
throws java.lang.AssertionError
XClass object for the given ClassDescriptor object.classDesc - the class descriptor for which to find the XClass objectjava.lang.AssertionError - if the analysis of the class failedpublic static edu.umd.cs.findbugs.ba.XClass getXClass(java.lang.String slashedClassName)
XClass object for the given slashed class name.slashedClassName - the class name for which to find the XClass objectjava.lang.AssertionError - if the analysis of the class failed@Nullable
public static edu.umd.cs.findbugs.ba.XMethod getXMethod(edu.umd.cs.findbugs.ba.XClass xClass,
java.lang.String methodName,
java.lang.String methodSig)
xClass - the class where to look for the methodmethodName - the name of the method to look formethodSig - the signature of the method to look for@Nullable
public static edu.umd.cs.findbugs.ba.XMethod getXMethod(java.lang.String slashedClassName,
java.lang.String methodName,
java.lang.String methodSig)
slashedClassName - the class slashed name where to look for the methodmethodName - the name of the method to look formethodSig - the signature of the method to look forCopyright © 2005-2018 MeBigFatGuy.com. All Rights Reserved.