-
- All Implemented Interfaces:
public final class ExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final static TypeNameasTypeName(Type $self)final static ClassNameasClassName(Type $self)final static WildcardTypeNameasOutTypeName(Type $self)final static CodeBlockasClassStatement(ClassName $self)final static CodeBlockasClassNameStatement(Type $self)final static ClassNamegetPathClassName(TypeMappings $self, Type type, EntityType model)final static TypeNamegetPathTypeName(TypeMappings $self, Type type, EntityType model)final static ParameterizedTypeNameparameterizedBy(KClass<?> $self, TypeName types)final static ParameterizedTypeNameparameterizedBy(KClass<?> $self, Type types)final static CodeBlockjoinToCode(Collection<String> $self, String format, CharSequence separator, CharSequence prefix, CharSequence suffix)final static CodeBlockasCodeBlock(Object $self, String format)final static CodeBlockasCodeBlock(ParameterSpec $self, String format)-
-
Method Detail
-
asTypeName
final static TypeName asTypeName(Type $self)
-
asClassName
final static ClassName asClassName(Type $self)
-
asOutTypeName
final static WildcardTypeName asOutTypeName(Type $self)
-
asClassStatement
final static CodeBlock asClassStatement(ClassName $self)
-
asClassNameStatement
final static CodeBlock asClassNameStatement(Type $self)
-
getPathClassName
final static ClassName getPathClassName(TypeMappings $self, Type type, EntityType model)
-
getPathTypeName
final static TypeName getPathTypeName(TypeMappings $self, Type type, EntityType model)
-
parameterizedBy
final static ParameterizedTypeName parameterizedBy(KClass<?> $self, TypeName types)
-
parameterizedBy
final static ParameterizedTypeName parameterizedBy(KClass<?> $self, Type types)
-
joinToCode
final static CodeBlock joinToCode(Collection<String> $self, String format, CharSequence separator, CharSequence prefix, CharSequence suffix)
-
asCodeBlock
final static CodeBlock asCodeBlock(Object $self, String format)
-
asCodeBlock
final static CodeBlock asCodeBlock(ParameterSpec $self, String format)
-
-
-
-