Throw an error if a @Component has neither a default constructor nor a 'getInstance()' static method
@Component(s) should have a default constructor
removed comment
rename 'getType()' in MethodEndpoint to 'getEndpointType()'