stasis/je-7.5.11/docs/doclet/HidingAnnotationValueWrapper.java

33 lines
811 B
Java
Raw Normal View History

2019-06-25 20:12:40 +00:00
/*-
* 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();
}
}