コード例 #1
0
 public static List<ForeignKeyInfoTypeInfo> listOf(
     SchemaNameTypeInfo schemaName, TypeInfo typeInfo) {
   return typeInfo
       .declaredTypeInfoStream()
       .filter(it -> it.hasAnnotation(ForeignKey.class))
       .map(it -> new ForeignKeyInfoTypeInfo(schemaName, it))
       .collect(Collectors.toList());
 }
コード例 #2
0
ファイル: OrmPropertyFake.java プロジェクト: objectos/way
 private static SimpleTypeInfo simple(TypeInfo typeInfo) {
   return typeInfo.toSimpleTypeInfo();
 }
コード例 #3
0
 @Override
 String name() {
   return typeInfo.simpleName();
 }
コード例 #4
0
ファイル: OrmInsertableFake.java プロジェクト: objectos/way
 private static ClassName cn(TypeInfo typeInfo) {
   return typeInfo.className();
 }