blob: 633206d35080dcbda3f2682c8d7a1c3843fcc02e [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.netbeans.modules.refactoring.java.ui;
import java.util.Set;
import javax.lang.model.element.ElementKind;
import javax.lang.model.element.Modifier;
import javax.swing.Icon;
import org.netbeans.api.java.source.ElementHandle;
import org.netbeans.api.java.source.ui.ElementJavadoc;
import org.openide.filesystems.FileObject;
/**
* The interface representing Java elements in hierarchy and members pop up windows.
*
* @author Sandip Chitale (Sandip.Chitale@Sun.Com)
*/
public interface JavaElement {
String getName();
Set<Modifier> getModifiers();
ElementKind getElementKind();
String getLabel();
String getFQNLabel();
String getToolTip();
Icon getIcon();
ElementJavadoc getJavaDoc();
void gotoElement();
FileObject getFileObject();
ElementHandle getElementHandle();
}