com.google.gwt.core.ext.linker
Class GeneratedResource
java.lang.Object
com.google.gwt.core.ext.linker.Artifact<EmittedArtifact>
com.google.gwt.core.ext.linker.EmittedArtifact
com.google.gwt.core.ext.linker.GeneratedResource
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Artifact<?>>
public abstract class GeneratedResource
- extends EmittedArtifact
A resource created by a Generator
invoking
GeneratorContext.tryCreateResource(com.google.gwt.core.ext.TreeLogger, String)
during the compilation process.
- See Also:
- Serialized Form
Constructor Summary |
protected |
GeneratedResource(java.lang.Class<? extends Linker> linkerType,
java.lang.Class<? extends Generator> generatorType,
java.lang.String partialPath)
|
Method Summary |
java.lang.Class<? extends Generator> |
getGenerator()
The type of Generator that created the resource. |
Methods inherited from class com.google.gwt.core.ext.linker.EmittedArtifact |
compareToComparableArtifact, getComparableArtifactType, getContents, getLastModified, getPartialPath, getVisibility, hashCode, isPrivate, setPrivate, setVisibility, toString, writeTo |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
GeneratedResource
protected GeneratedResource(java.lang.Class<? extends Linker> linkerType,
java.lang.Class<? extends Generator> generatorType,
java.lang.String partialPath)
getGenerator
public final java.lang.Class<? extends Generator> getGenerator()
- The type of Generator that created the resource.