br.com.objectos.way.code
Class ClassInfo

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

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

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

Method Summary
 AccessInfo getAccessInfo()
           
 ConstructorInfoMap getConstructorInfoMap()
           
 com.google.common.base.Optional<InterfaceInfo> getInterface(Class<?> type)
           
 WayIterable<MethodInfo> getMethodInfoIterable()
           
static ClassInfoBuilder newPojo()
           
 boolean shouldKeep(ImportInfo importInfo)
           
 MustacheObject toMustache()
           
 String toQualifiedName()
           
 String toSimpleNameSuffix(String suffix)
           
 SimpleTypeInfo toSimpleTypeInfo()
           
 CodeCanvasWriter writeQualifiedNameTo(CodeCanvasWriter writer, String suffix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface br.com.objectos.way.core.testing.Testable
isEqual
 

Method Detail

newPojo

public static ClassInfoBuilder newPojo()

getConstructorInfoMap

public ConstructorInfoMap getConstructorInfoMap()

getMethodInfoIterable

public WayIterable<MethodInfo> getMethodInfoIterable()

getInterface

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

shouldKeep

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

toMustache

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

toSimpleNameSuffix

public String toSimpleNameSuffix(String suffix)

toSimpleTypeInfo

public SimpleTypeInfo toSimpleTypeInfo()

toQualifiedName

public String toQualifiedName()
Specified by:
toQualifiedName in interface HasQualifiedName

writeQualifiedNameTo

public CodeCanvasWriter writeQualifiedNameTo(CodeCanvasWriter writer,
                                             String suffix)

getAccessInfo

public AccessInfo getAccessInfo()


Copyright © 2014. All rights reserved.