@Test public void describeListPM() { Class cls = ListPM.class; TypeInfo info = this.metadata.getTypeInfo(cls); assertEquals("info.getProperties().size()", 0, info.getProperties().size()); assertEquals("info.getJavaType()", cls, info.getJavaType()); }
public TypeInfo getTypeInfo(Class<? extends PresentationModel> modelClass) { TypeInfo result = modelTypes.get(modelClass); if (result == null) { result = createTypeInfo(modelClass); } return result; }
MetadataRegistry { public TypeInfo getTypeInfo(Class<? extends PresentationModel> modelClass) { TypeInfo result = modelTypes.get(modelClass); if (result == null) { result = createTypeInfo(modelClass); } return result; } }
MetadataRegistry { public TypeInfo getTypeInfo(Class<? extends PresentationModel> modelClass) { TypeInfo result = modelTypes.get(modelClass); if (result == null) { result = createTypeInfo(modelClass); } return result; } MetadataRegistry(); }
MetadataRegistry { public TypeInfo getTypeInfo(Class<? extends PresentationModel> modelClass) { TypeInfo result = modelTypes.get(modelClass); if (result == null) { result = createTypeInfo(modelClass); } return result; } MetadataRegistry(); TypeInfo getTypeInfo(Class<? extends PresentationModel> modelClass); PathNode getPathNode(Class<? extends PresentationModel> modelClass); PathNode getPathNode(TypeInfo typeInfo); }
MetadataRegistry { public TypeInfo getTypeInfo(Class<? extends PresentationModel> modelClass) { TypeInfo result = modelTypes.get(modelClass); if (result == null) { result = createTypeInfo(modelClass); } return result; } MetadataRegistry(); TypeInfo getTypeInfo(Class<? extends PresentationModel> modelClass); PathNode getPathNode(Class<? extends PresentationModel> modelClass); PathNode getPathNode(TypeInfo typeInfo);  }