* @author Erik Brakkee
*/
class ProvidedInterfaceImplementation {
- private ProvidedInterface _provided;
+ private ProvidedInterface provided;
- private Object _implementation;
+ private Object implementation;
/**
* Constructs the object.
*/
public ProvidedInterfaceImplementation(ProvidedInterface aProvided,
Object aImplementation) {
- _provided = aProvided;
- _implementation = aImplementation;
+ provided = aProvided;
+ implementation = aImplementation;
}
/**
* @return The provided interface.
*/
public ProvidedInterface getProvided() {
- return _provided;
+ return provided;
}
/**
* @return Implementation.
*/
public <T> T getImplementation(Class<T> aType) {
- return (T) _implementation;
+ return (T) implementation;
}
}