Class BytecodeBinder
- java.lang.Object
-
- com.google.turbine.binder.bytecode.BytecodeBinder
-
public final class BytecodeBinder extends java.lang.ObjectBindTypes from bytecode.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Const.ValuebindConstValue(Type type, Const.Value value)static ModuleInfobindModuleInfo(java.lang.String path, java.util.function.Supplier<byte[]> bytes)Returns aModuleInfogiven a module-info class file.static ConstbindValue(ClassFile.AnnotationInfo.ElementValue value)
-
-
-
Method Detail
-
bindValue
public static Const bindValue(ClassFile.AnnotationInfo.ElementValue value)
-
bindConstValue
public static Const.Value bindConstValue(Type type, Const.Value value)
-
bindModuleInfo
public static ModuleInfo bindModuleInfo(java.lang.String path, java.util.function.Supplier<byte[]> bytes)
Returns aModuleInfogiven a module-info class file. Currently only the module's name, version, and flags are populated, since the directives are not needed by turbine at compile time.
-
-