br.com.objectos.way.code
Class SimpleTypeInfo

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

public abstract class SimpleTypeInfo
extends Object
implements IsMustacheSerializable, Testable<SimpleTypeInfo>

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

Method Summary
 SimpleTypeInfo autobox()
           
 boolean equals(Object obj)
           
 File fileAt(Directory directory)
           
 String getGetterPrefix()
           
 WayIterable<TypeParameterInfo> getTypeParameterInfoIterable()
           
 int hashCode()
           
 boolean isEqual(SimpleTypeInfo that)
           
 boolean isInfoOf(Class<?> type)
           
abstract  NameInfo name()
           
 Object newInstance()
           
static SimpleTypeInfoBuilder newPojo()
           
static SimpleTypeInfoBuilder newPojoPrimitive()
           
abstract  com.google.common.base.Optional<PackageInfo> packageInfo()
           
 String toDeclaredName()
           
 Set<ImportInfo> toImportInfo()
           
 MustacheObject toMustache()
           
 String toRawName()
           
 String toSimpleName()
           
 String toString()
           
abstract  List<TypeParameterInfo> typeParameterInfoList()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

packageInfo

public abstract com.google.common.base.Optional<PackageInfo> packageInfo()

name

public abstract NameInfo name()

typeParameterInfoList

public abstract List<TypeParameterInfo> typeParameterInfoList()

newPojo

public static SimpleTypeInfoBuilder newPojo()

newPojoPrimitive

public static SimpleTypeInfoBuilder newPojoPrimitive()

getGetterPrefix

public String getGetterPrefix()

getTypeParameterInfoIterable

public WayIterable<TypeParameterInfo> getTypeParameterInfoIterable()

isEqual

public final boolean isEqual(SimpleTypeInfo that)
Specified by:
isEqual in interface Testable<SimpleTypeInfo>

isInfoOf

public boolean isInfoOf(Class<?> type)

toDeclaredName

public String toDeclaredName()

toImportInfo

public Set<ImportInfo> toImportInfo()

toMustache

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

toRawName

public String toRawName()

toSimpleName

public String toSimpleName()

toString

public String toString()
Overrides:
toString in class Object

autobox

public SimpleTypeInfo autobox()

fileAt

public File fileAt(Directory directory)

newInstance

public Object newInstance()
                   throws ClassNotFoundException,
                          InstantiationException,
                          IllegalAccessException
Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException

hashCode

public final int hashCode()
Overrides:
hashCode in class Object

equals

public final boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2014. All rights reserved.