org.jetbrains.jet.renderer
Interface DescriptorRenderer

All Superinterfaces:
Renderer<DeclarationDescriptor>
All Known Implementing Classes:
DescriptorRendererImpl

public interface DescriptorRenderer
extends Renderer<DeclarationDescriptor>


Nested Class Summary
static class DescriptorRenderer.DefaultValueParameterHandler
           
static class DescriptorRenderer.Modifier
           
static class DescriptorRenderer.OverrideRenderingPolicy
           
static class DescriptorRenderer.TextFormat
           
static interface DescriptorRenderer.ValueParametersHandler
           
 
Field Summary
static DescriptorRenderer COMPACT
           
static DescriptorRenderer COMPACT_WITH_MODIFIERS
           
static DescriptorRenderer DEBUG_TEXT
           
static DescriptorRenderer FQ_NAMES_IN_TYPES
           
static DescriptorRenderer HTML
           
static DescriptorRenderer HTML_COMPACT_WITH_MODIFIERS
           
static DescriptorRenderer HTML_FOR_UNINFERRED_TYPE_PARAMS
           
static DescriptorRenderer SHORT_NAMES_IN_TYPES
           
static DescriptorRenderer SOURCE_CODE
           
static DescriptorRenderer SOURCE_CODE_SHORT_NAMES_IN_TYPES
           
static DescriptorRenderer STARTS_FROM_NAME
           
 
Method Summary
 java.lang.String render(DeclarationDescriptor declarationDescriptor)
           
 java.lang.String renderAnnotation(AnnotationDescriptor annotation)
           
 java.lang.String renderFunctionParameters(FunctionDescriptor functionDescriptor)
           
 java.lang.String renderType(JetType type)
           
 java.lang.String renderTypeArguments(java.util.List<TypeProjection> typeArguments)
           
 

Field Detail

COMPACT_WITH_MODIFIERS

static final DescriptorRenderer COMPACT_WITH_MODIFIERS

SOURCE_CODE

static final DescriptorRenderer SOURCE_CODE

SOURCE_CODE_SHORT_NAMES_IN_TYPES

static final DescriptorRenderer SOURCE_CODE_SHORT_NAMES_IN_TYPES

COMPACT

static final DescriptorRenderer COMPACT

STARTS_FROM_NAME

static final DescriptorRenderer STARTS_FROM_NAME

FQ_NAMES_IN_TYPES

static final DescriptorRenderer FQ_NAMES_IN_TYPES

SHORT_NAMES_IN_TYPES

static final DescriptorRenderer SHORT_NAMES_IN_TYPES

DEBUG_TEXT

static final DescriptorRenderer DEBUG_TEXT

HTML_COMPACT_WITH_MODIFIERS

static final DescriptorRenderer HTML_COMPACT_WITH_MODIFIERS

HTML

static final DescriptorRenderer HTML

HTML_FOR_UNINFERRED_TYPE_PARAMS

static final DescriptorRenderer HTML_FOR_UNINFERRED_TYPE_PARAMS
Method Detail

renderType

@NotNull
java.lang.String renderType(@NotNull
                                    JetType type)

renderTypeArguments

@NotNull
java.lang.String renderTypeArguments(@NotNull
                                             java.util.List<TypeProjection> typeArguments)

renderAnnotation

@NotNull
java.lang.String renderAnnotation(@NotNull
                                          AnnotationDescriptor annotation)

render

@NotNull
java.lang.String render(@NotNull
                                DeclarationDescriptor declarationDescriptor)
Specified by:
render in interface Renderer<DeclarationDescriptor>

renderFunctionParameters

@NotNull
java.lang.String renderFunctionParameters(@NotNull
                                                  FunctionDescriptor functionDescriptor)