mirror of
https://github.com/berkeleydb/je.git
synced 2024-11-15 01:46:24 +00:00
32 lines
811 B
Java
32 lines
811 B
Java
/*-
|
|
* See the file LICENSE for redistribution information.
|
|
*
|
|
* Copyright (c) 2002, 2016 Oracle and/or its affiliates. All rights reserved.
|
|
*
|
|
*/
|
|
|
|
import java.util.Map;
|
|
|
|
import com.sun.javadoc.AnnotationValue;
|
|
|
|
class HidingAnnotationValueWrapper extends HidingWrapper
|
|
implements AnnotationValue {
|
|
public HidingAnnotationValueWrapper(AnnotationValue value,
|
|
Map mapWrappers) {
|
|
super(value, mapWrappers);
|
|
}
|
|
|
|
private AnnotationValue _getAnnotationValue() {
|
|
return (AnnotationValue)getWrappedObject();
|
|
}
|
|
|
|
@Override
|
|
public Object value() {
|
|
return _getAnnotationValue().value();
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return _getAnnotationValue().toString();
|
|
}
|
|
}
|