mguymon / model-citizen

Annotation based model factory for Java
Apache License 2.0
94 stars 13 forks source link

Default to blueprint target class based on name #2

Closed mguymon closed 12 years ago

mguymon commented 13 years ago

Instead of forcing class name in the @Blueprint, e.g. @Blueprint( Car.class), if no class is set determine the target class from the Bluepint's class name. For example:

@Blueprint public class CarBlueprint {

}

would set the @Blueprint target class to Car from the class name CarBlueprint.