Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 18593 Details for
Bug 81498
[search] ITypeNameRequestor should support enums and annotations as well
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
TypeNameRequestor.java
TypeNameRequestor.java (text/plain), 2.79 KB, created by
Frederic Fusier
on 2005-03-09 13:02:11 EST
(
hide
)
Description:
TypeNameRequestor.java
Filename:
MIME Type:
Creator:
Frederic Fusier
Created:
2005-03-09 13:02:11 EST
Size:
2.79 KB
patch
obsolete
>/******************************************************************************* > * Copyright (c) 2000, 2004 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at > * http://www.eclipse.org/legal/epl-v10.html > * > * Contributors: > * IBM Corporation - initial API and implementation > *******************************************************************************/ >package org.eclipse.jdt.core.search; > >import org.eclipse.jdt.internal.compiler.env.AccessRestriction; > >/** > * A <code>TypeNameRequestor</code> collects search results from a <code>searchAllTypeNames</code> > * query to a <code>SearchEngine</code>. Clients must subclass this abstract class and pass > * an instance to the <code>searchAllTypeNames(...)</code> method. Only top-level and > * member types are reported. Local types are not reported. > * <p> > * This class may be subclassed by clients. > * </p> > */ >public abstract class TypeNameRequestor { > /** > * Accepts a top-level or a member type. > * > * @param modifiers the modifiers of the type. Note that for source type, this modifiers may slightly differ from > * resolved one. For example an interface defined by <code>interface A {}</code> will have its modifiers > * set to AccInterface but not AccPublic although, after reslution, it will be. > * @param packageName the dot-separated name of the package of the type > * @param simpleTypeName the simple name of the type > * @param enclosingTypeNames if the type is a member type, > * the simple names of the enclosing types from the outer-most to the > * direct parent of the type (for example, if the class is x.y.A$B$C then > * the enclosing types are [A, B]. This is an empty array if the type > * is a top-level type. > * @param path the full path to the resource containing the type. If the resource is a .class file > * or a .java file, this is the full path in the workspace to this resource. If the > * resource is an archive (that is, a .zip or .jar file), the path is composed of 2 paths separated > * by <code>IJavaSearchScope.JAR_FILE_ENTRY_SEPARATOR</code>: > * the first path is the full OS path to the archive (if it is an external archive), > * or the workspace relative <code>IPath</code> to the archive (if it is an internal archive), > * the second path is the path to the resource inside the archive. > * @param access the restriction access for the type. <code>null</code> means no restriction. > */ > public abstract void acceptType(int modifiers, char[] packageName, char[] simpleTypeName, char[][] enclosingTypeNames, String path, AccessRestriction access); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 81498
:
18593
|
18687