public class EntryMethodHolderGenerator extends Generator
Constructor and Description |
---|
EntryMethodHolderGenerator() |
Modifier and Type | Method and Description |
---|---|
String |
generate(TreeLogger logger,
GeneratorContext context,
String moduleCanonicalName)
Generate a default constructible subclass of the requested type.
|
static String |
getEntryMethodHolderTypeName(String moduleCanonicalName) |
escape, escapeClassName
public String generate(TreeLogger logger, GeneratorContext context, String moduleCanonicalName) throws UnableToCompleteException
Generator
UnableToCompleteException
if for any reason it cannot provide a substitute classgenerate
in class Generator
null
to cause the requested type itself to be usedUnableToCompleteException
Copyright © 2018. All rights reserved.