|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sofya.base.Utility
public class Utility
Defines general utility methods that belong to no class in particular.
Method Summary | |
---|---|
static java.lang.Class[] |
typesToClasses(org.apache.bcel.generic.Type[] ts)
Converts an array of BCEL Type objects to their
corresponding java.lang.Class objects. |
static java.lang.Class |
typeToClass(org.apache.bcel.generic.Type t)
Converts a BCEL Type object to its corresponding
java.lang.Class . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.Class typeToClass(org.apache.bcel.generic.Type t) throws java.lang.ClassNotFoundException
Type
object to its corresponding
java.lang.Class
.
t
- BCEL type object to be converted.
java.lang.ClassNotFoundException
- If the corresponding class cannot be
found by the classloader (most often because it is not on the
classpath), or if the BCEL type is Type.UNKNOWN
.public static java.lang.Class[] typesToClasses(org.apache.bcel.generic.Type[] ts) throws java.lang.ClassNotFoundException
Type
objects to their
corresponding java.lang.Class
objects.
ts
- BCEL type objects to be converted.
java.lang.ClassNotFoundException
- If a corresponding class cannot be
found by the classloader (most often because it is not on the
classpath), or if a BCEL type is Type.UNKNOWN
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |