br.com.objectos.way.code
Class TypeInfo

java.lang.Object
  extended by br.com.objectos.way.code.TypeInfo
All Implemented Interfaces:
CanFilterImportInfoSet, Testable<TypeInfo>, IsMustacheSerializable

public abstract class TypeInfo
extends Object
implements CanFilterImportInfoSet, IsMustacheSerializable, Testable<TypeInfo>

Author:
marcio.endo@objectos.com.br (Marcio Endo)

Method Summary
 com.google.common.base.Optional<AnnotationInfo> getAnnotationInfo(Class<?> type)
           
 com.google.common.base.Optional<InterfaceInfo> getInterface(Class<?> type)
           
 boolean isInstanceOf(Class<?> type)
           
abstract  MethodInfoMap methodInfoMap()
           
static TypeInfoBuilder newPojo()
           
 boolean shouldKeep(ImportInfo importInfo)
           
 com.google.common.base.Optional<ClassInfo> toClassInfo()
           
 Set<ImportInfo> toImportInfo()
           
 com.google.common.base.Optional<InterfaceInfo> toInterfaceInfo()
           
 MustacheObject toMustache()
           
 ToMustacheHelper toMustacheHelper()
           
 String toRawName()
           
 String toSimpleName()
           
 String toSimpleNameSuffix(String suffix)
           
 SimpleTypeInfo toSimpleTypeInfo()
           
 String toString()
           
 String toUnboundedName()
           
abstract  TypeParameterInfoMap typeParameterInfoMap()
           
 CodeCanvasWriter writeQualifiedNameTo(CodeCanvasWriter mustacheWriter, String suffix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface br.com.objectos.way.core.testing.Testable
isEqual
 

Method Detail

typeParameterInfoMap

public abstract TypeParameterInfoMap typeParameterInfoMap()

methodInfoMap

public abstract MethodInfoMap methodInfoMap()

newPojo

public static TypeInfoBuilder newPojo()

getAnnotationInfo

public com.google.common.base.Optional<AnnotationInfo> getAnnotationInfo(Class<?> type)

getInterface

public com.google.common.base.Optional<InterfaceInfo> getInterface(Class<?> type)

isInstanceOf

public boolean isInstanceOf(Class<?> type)

shouldKeep

public boolean shouldKeep(ImportInfo importInfo)
Specified by:
shouldKeep in interface CanFilterImportInfoSet

toClassInfo

public com.google.common.base.Optional<ClassInfo> toClassInfo()

toImportInfo

public Set<ImportInfo> toImportInfo()

toInterfaceInfo

public com.google.common.base.Optional<InterfaceInfo> toInterfaceInfo()

toMustache

public MustacheObject toMustache()
Specified by:
toMustache in interface IsMustacheSerializable

toMustacheHelper

public ToMustacheHelper toMustacheHelper()

toRawName

public String toRawName()

toSimpleTypeInfo

public SimpleTypeInfo toSimpleTypeInfo()

toSimpleName

public String toSimpleName()

toSimpleNameSuffix

public String toSimpleNameSuffix(String suffix)

toString

public String toString()
Overrides:
toString in class Object

toUnboundedName

public String toUnboundedName()

writeQualifiedNameTo

public CodeCanvasWriter writeQualifiedNameTo(CodeCanvasWriter mustacheWriter,
                                             String suffix)


Copyright © 2014. All rights reserved.