public static class ProxyCompiler.MyJavaFileObject extends SimpleJavaFileObject
JavaFileObject.Kindkind, uri| 构造器和说明 |
|---|
MyJavaFileObject(String name,
JavaFileObject.Kind kind) |
MyJavaFileObject(String name,
String source) |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
getByteCode() |
CharSequence |
getCharContent(boolean ignoreEncodingErrors) |
OutputStream |
openOutputStream() |
delete, getAccessLevel, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openReader, openWriter, toString, toUripublic MyJavaFileObject(String name, JavaFileObject.Kind kind)
public CharSequence getCharContent(boolean ignoreEncodingErrors)
getCharContent 在接口中 FileObjectgetCharContent 在类中 SimpleJavaFileObjectpublic OutputStream openOutputStream() throws IOException
openOutputStream 在接口中 FileObjectopenOutputStream 在类中 SimpleJavaFileObjectIOExceptionpublic byte[] getByteCode()
Copyright © 2024. All rights reserved.