mirror of
https://github.com/berkeleydb/je.git
synced 2024-11-15 01:46:24 +00:00
62 lines
1.3 KiB
Java
62 lines
1.3 KiB
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.Doc;
|
|
import com.sun.javadoc.SourcePosition;
|
|
import com.sun.javadoc.Tag;
|
|
|
|
class HidingTagWrapper extends HidingWrapper implements Tag {
|
|
public HidingTagWrapper(Tag tag, Map mapWrappers) {
|
|
super(tag, mapWrappers);
|
|
}
|
|
|
|
private Tag _getTag() {
|
|
return (Tag)getWrappedObject();
|
|
}
|
|
|
|
@Override
|
|
public String name() {
|
|
return _getTag().name();
|
|
}
|
|
|
|
@Override
|
|
public Doc holder() {
|
|
return (Doc) wrapOrHide(_getTag().holder());
|
|
}
|
|
|
|
@Override
|
|
public String kind() {
|
|
return _getTag().kind();
|
|
}
|
|
|
|
@Override
|
|
public String text() {
|
|
return _getTag().text();
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return _getTag().toString();
|
|
}
|
|
|
|
@Override
|
|
public Tag[] inlineTags() {
|
|
return (Tag[])wrapOrHide(_getTag().inlineTags());
|
|
}
|
|
|
|
@Override
|
|
public Tag[] firstSentenceTags() {
|
|
return (Tag[])wrapOrHide(_getTag().firstSentenceTags());
|
|
}
|
|
|
|
@Override
|
|
public SourcePosition position() {
|
|
return (SourcePosition) wrapOrHide(_getTag().position());
|
|
}
|
|
}
|