mirror of
https://github.com/berkeleydb/je.git
synced 2024-11-15 01:46:24 +00:00
32 lines
827 B
Java
32 lines
827 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.Type;
|
|
import com.sun.javadoc.WildcardType;
|
|
|
|
class HidingWildcardTypeWrapper extends HidingTypeWrapper
|
|
implements WildcardType {
|
|
public HidingWildcardTypeWrapper(WildcardType type, Map mapWrappers) {
|
|
super(type, mapWrappers);
|
|
}
|
|
|
|
private WildcardType _getWildcardType() {
|
|
return (WildcardType)getWrappedObject();
|
|
}
|
|
|
|
@Override
|
|
public Type[] extendsBounds() {
|
|
return (Type[])wrapOrHide(_getWildcardType().extendsBounds());
|
|
}
|
|
|
|
@Override
|
|
public Type[] superBounds() {
|
|
return (Type[])wrapOrHide(_getWildcardType().superBounds());
|
|
}
|
|
}
|