mirror of
https://github.com/berkeleydb/je.git
synced 2024-11-15 01:46:24 +00:00
42 lines
958 B
Java
42 lines
958 B
Java
/*-
|
|
* See the file LICENSE for redistribution information.
|
|
*
|
|
* Copyright (c) 2002, 2014 Oracle and/or its affiliates. All rights reserved.
|
|
*
|
|
*/
|
|
|
|
import java.io.File;
|
|
import java.util.Map;
|
|
|
|
import com.sun.javadoc.SourcePosition;
|
|
|
|
class HidingSourcePositionWrapper extends HidingWrapper
|
|
implements SourcePosition {
|
|
public HidingSourcePositionWrapper(SourcePosition type, Map mapWrappers) {
|
|
super(type, mapWrappers);
|
|
}
|
|
|
|
private SourcePosition _getSourcePosition() {
|
|
return (SourcePosition)getWrappedObject();
|
|
}
|
|
|
|
@Override
|
|
public File file() {
|
|
return _getSourcePosition().file();
|
|
}
|
|
|
|
@Override
|
|
public int line() {
|
|
return _getSourcePosition().line();
|
|
}
|
|
|
|
@Override
|
|
public int column() {
|
|
return _getSourcePosition().column();
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return _getSourcePosition().toString();
|
|
}
|
|
}
|