Uses of Class
de.inetsoftware.classparser.ClassFile
-
Packages that use ClassFile Package Description de.inetsoftware.classparser de.inetsoftware.jwebassembly.module -
-
Uses of ClassFile in de.inetsoftware.classparser
Fields in de.inetsoftware.classparser declared as ClassFile Modifier and Type Field Description private ClassFileMethodInfo. classFileMethods in de.inetsoftware.classparser that return ClassFile Modifier and Type Method Description ClassFileMethodInfo. getDeclaringClassFile()Get the declaring class file of the methodMethods in de.inetsoftware.classparser with parameters of type ClassFile Modifier and Type Method Description voidClassFile. partial(ClassFile partialClassFile)Extends this class with the methods and fields of the partial class.(package private) voidMethodInfo. setDeclaringClassFile(java.lang.String origClassName, ClassFile classFile)Replace the reference to the ClassFileConstructors in de.inetsoftware.classparser with parameters of type ClassFile Constructor Description ClassFile(java.lang.String className, ClassFile classFile)Create a replaced instance.MethodInfo(java.io.DataInputStream input, ConstantPool constantPool, ClassFile classFile)Read the method_info structure http://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.6 http://docs.oracle.com/javase/specs/jvms/se5.0/html/ClassFile.doc.html#1513 -
Uses of ClassFile in de.inetsoftware.jwebassembly.module
Fields in de.inetsoftware.jwebassembly.module with type parameters of type ClassFile Modifier and Type Field Description private java.util.HashMap<java.lang.String,ClassFile>ClassFileLoader. cacheprivate java.util.HashMap<java.lang.String,ClassFile>ClassFileLoader. replaceMethods in de.inetsoftware.jwebassembly.module that return ClassFile Modifier and Type Method Description ClassFileClassFileLoader. get(java.lang.String className)Get the ClassFile from cache or load it.Methods in de.inetsoftware.jwebassembly.module with parameters of type ClassFile Modifier and Type Method Description voidClassFileLoader. cache(ClassFile classFile)Add a class file to the weak cache.private voidModuleGenerator. iterateMethods(ClassFile classFile, java.util.function.Consumer<MethodInfo> handler)Iterate over all methods of the classFile and run the handler.private voidTypeManager.StructType. listInterfaceTypes(ClassFile classFile, TypeManager types, ClassFileLoader classFileLoader, java.util.Set<TypeManager.StructType> interfaceTypes, java.util.Set<java.lang.String> interfaceNames)List all interface StrucTypes recursively.(package private) voidClassFileLoader. partial(java.lang.String className, ClassFile partialClassFile)Add a partial class with the given instance to the loader cache.voidModuleGenerator. prepare(ClassFile classFile)Prepare the content of the class.(package private) voidClassFileLoader. replace(java.lang.String className, ClassFile classFile)Replace the class in the cache with the given instance to the loader cache.private booleanModuleGenerator. scanFunctionInterfaces(ClassFile classFile, FunctionName next)Search if there is a default implementation in an interface for the given method.private voidJavaMethodWasmCodeBuilder. writeCode(CodeInputStream byteCode, ConstantPool constantPool, ClassFile classFile, AnyType returnType)Write the byte code of a method.
-