declarations.java
来自「Mobile 应用程序使用 Java Micro Edition (Java M」· Java 代码 · 共 47 行
JAVA
47 行
/* * @(#)Declarations.java 1.2 05/11/17 * * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package com.sun.mirror.util;import com.sun.mirror.declaration.*;/** * Utility methods for operating on declarations. * * @author Joseph D. Darcy * @author Scott Seligman * @version 1.2 05/11/17 * @since 1.5 */public interface Declarations { /** * Tests whether one type, method, or field declaration hides another. * * @param sub the first member * @param sup the second member * @return <tt>true</tt> if and only if the first member hides * the second */ boolean hides(MemberDeclaration sub, MemberDeclaration sup); /** * Tests whether one method overrides another. When a * non-abstract method overrides an abstract one, the * former is also said to <i>implement</i> the latter. * * @param sub the first method * @param sup the second method * @return <tt>true</tt> if and only if the first method overrides * the second */ boolean overrides(MethodDeclaration sub, MethodDeclaration sup);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?