void setSubpackage(MvwDefinition definition){
Module mod = definition.getDefinedInModule();
if (mod.isUsingStandardSubpackages()){
if (definition instanceof Component){
Component component = (Component) definition;
if (component.getSubpackage() == null){
if (component instanceof Controller)
component.setSubpackage(controllerSubpackage);
else if (component instanceof Presenter)
component.setSubpackage(presenterSubpackage);
else if (component instanceof Activity)
component.setSubpackage(activitySubpackage);
}
}
else if (definition instanceof View){
if (((View)definition).getSubpackage() == null)
((View)definition).setSubpackage(viewSubpackage);