private final Map<AnnotationTypeElementDeclaration,String> metadataProperties = new HashMap<AnnotationTypeElementDeclaration, String>();
public Model(AnnotationType type) {
this.type = type;
for (AnnotationTypeElementDeclaration e : type.getDeclaration().getMethods()) {
InhabitantMetadata im = e.getAnnotation(InhabitantMetadata.class);
if(im==null) continue;
String name = im.value();
if(name.length()==0) name=type.getDeclaration().getQualifiedName()+'.'+e.getSimpleName();
metadataProperties.put(e,name);
}
}