java.lang.Object
org.glavo.classfile.impl.Util
Helper to create and manipulate type descriptors, where type descriptors are
represented as JVM type descriptor strings and symbols are represented as
name strings
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic voidcheckKind(Opcode op, Opcode.Kind k) static List<ClassEntry>static BitSetfindParams(String type) static intflagsToBits(AccessFlag.Location location, Collection<AccessFlag> flags) static intflagsToBits(AccessFlag.Location location, AccessFlag... flags) static booleanhas(AccessFlag.Location location, int flagsMask, AccessFlag flag) static <T,U> List<U> mappedList(List<? extends T> list, Function<T, U> mapper) static intstatic List<ModuleEntry>moduleEntryList(List<? extends ModuleDesc> list) static intparameterSlots(String type) static int[]parseParameterSlots(int flags, String type) static Stringstatic ClassDesctoClassDesc(String classInternalNameOrArrayDesc) static StringtoClassString(String desc) static String
-
Method Details
-
arrayOf
-
findParams
-
parameterSlots
-
parseParameterSlots
-
maxLocals
-
toClassString
-
parameterTypes
-
returnDescriptor
-
toInternalName
-
toClassDesc
-
mappedList
-
entryList
-
moduleEntryList
-
checkKind
-
flagsToBits
-
flagsToBits
-
has
-