| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static interface |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static Class |
| Compile | back to summary |
|---|---|
| pack-priv Compile() | |
| compile | back to summary |
|---|---|
| pack-priv static Class | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected Class | findClass(String
The binary name of the class name)Overrides java. |
| classes | back to summary |
|---|---|
| private final Map<String, byte[]> classes | |
| ByteArrayClassLoader | back to summary |
|---|---|
| pack-priv ByteArrayClassLoader(Map<String, byte[]> classes) | |
| findClass | back to summary |
|---|---|
| protected Class Overrides java. Doc from java. Finds the class with the specified binary name.
This method should be overridden by class loader implementations that
follow the delegation model for loading classes, and will be invoked by
the
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final CharSequence |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CharSequence | getCharContent(boolean
ignore encoding errors if true ignoreEncodingErrors)Overrides javax. Implements javax. |
| content | back to summary |
|---|---|
| pack-priv final CharSequence content | |
| CharSequenceJavaFileObject | back to summary |
|---|---|
| public CharSequenceJavaFileObject(String className, CharSequence content) | |
| getCharContent | back to summary |
|---|---|
| public CharSequence getCharContent(boolean ignoreEncodingErrors) Overrides javax. Implements javax. Doc from javax. This implementation always throws UnsupportedOperationException. Subclasses can change this
behavior as long as the contract of
| |
| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Map | |
| public Compile. | getJavaFileForOutput(JavaFileManager.
a package-oriented location location,the name of a class className, JavaFileObject.a file object to be used as hint for placement;
might be sibling)nullOverrides javax. Implements javax. |
| pack-priv boolean | |
| pack-priv Class | loadAndReturnMainClass(String mainClassName, Compile.
|
| classes | back to summary |
|---|---|
| private Map<String, byte[]> classes | |
| fileObjectMap | back to summary |
|---|---|
| private final Map<String, Compile. | |
| ClassFileManager | back to summary |
|---|---|
| pack-priv ClassFileManager(StandardJavaFileManager standardManager) | |
| classes | back to summary |
|---|---|
| pack-priv Map | |
| getJavaFileForOutput | back to summary |
|---|---|
| public Compile. Overrides javax. Implements javax. Doc from javax. Returns a file object for output representing the specified class of the specified kind in the given package-oriented location. Optionally, this file manager might consider the sibling as a hint for where to place the output. The exact semantics of this hint is unspecified. The JDK compiler, javac, for example, will place class files in the same directories as originating source files unless a class file output directory is provided. To facilitate this behavior, javac might provide the originating source file as sibling when calling this method.
| |
| isEmpty | back to summary |
|---|---|
| pack-priv boolean isEmpty() | |
| loadAndReturnMainClass | back to summary |
|---|---|
| pack-priv Class | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ByteArrayOutputStream |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv byte[] | |
| public CharSequence | getCharContent(boolean
ignore encoding errors if true ignoreEncodingErrors)Overrides javax. Implements javax. |
| public OutputStream | openOutputStream()
Overrides javax. Implements javax. |
| os | back to summary |
|---|---|
| pack-priv final ByteArrayOutputStream os | |
| JavaFileObject | back to summary |
|---|---|
| pack-priv JavaFileObject(String name, JavaFileObject. | |
| getBytes | back to summary |
|---|---|
| pack-priv byte[] getBytes() | |
| getCharContent | back to summary |
|---|---|
| public CharSequence getCharContent(boolean ignoreEncodingErrors) Overrides javax. Implements javax. Doc from javax. This implementation always throws UnsupportedOperationException. Subclasses can change this
behavior as long as the contract of
| |
| openOutputStream | back to summary |
|---|---|
| public OutputStream openOutputStream() Overrides javax. Implements javax. Doc from javax. This implementation always throws UnsupportedOperationException. Subclasses can change this
behavior as long as the contract of
| |
| Modifier and Type | Method and Description |
|---|---|
| public R |
| apply | back to summary |
|---|---|
| public R apply(T t, U u) throws Exception | |