blob: 7b432520c8cc738e861eaa1390c62c52345e663c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
/*******************************************************************************
* Copyright (c) 2001, 2008 Oracle 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:
* Oracle Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jst.jsf.common.runtime.internal.model.types;
/**
* A type info that has an associate Java class.
* @author cbateman
*
*/
public interface IClassTypeInfo
{
/**
* The fully qualified class name, i.e. java.lang.String
*
* @return the fully qualified class name in dot notation
*
*/
String getClassName();
/**
* Should never return null. Return empty array if none.
*
* @return the list of fully-qualified super class names. List is as
* calculated at IClassTypeInfo construction and no guarantee is made
* (although an implementer may do so) that it will be updated if the
* definition of className changes.
*/
String[] getSuperClasses();
/**
* Should never return null. Return empty array if none.
*
* @return the list of fully-qualified interface names. List is as
* calculated at IClassTypeInfo construction and no guarantee is made
* (although an implementer may do so) that it will be updated if the
* definition of className changes.
*/
String[] getInterfaces();
/**
* @param checkType
* @return true if checkType is in the set comprised of getSuperClasses()+getInterfaces()
*/
boolean isInstanceOf(final String checkType);
}
|