MCPcopy Create free account
hub / github.com/antlr/codebuff / getAttributeRenderer

Method getAttributeRenderer

output/java8/1.4.15/STGroup.java:750–755  ·  view source on GitHub ↗

Get renderer for class T associated with this group. For non-imported groups and object-to-render of class T, use renderer (if any) registered for T. For imports, any renderer set on import group is ignored even when using an imported template. You should set the ren

(Class<?> attributeType)

Source from the content-addressed store, hash-verified

748 */
749
750 public AttributeRenderer getAttributeRenderer(Class<?> attributeType) {
751 if ( renderers==null ) {
752 return null;
753 }
754 return renderers.get(attributeType);
755 }
756
757 public ST createStringTemplate(CompiledST impl) {
758 ST st = new ST();

Callers 1

writePOJOMethod · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected