ClassType.java :  » Web-Framework » anvil » anvil » script » Java Open Source

Java Open Source » Web Framework » anvil 
anvil » anvil » script » ClassType.java
/*
 * $Id: ClassType.java,v 1.8 2002/09/16 08:05:03 jkl Exp $
 *
 * Copyright (c) 2002 Njet Communications Ltd. All Rights Reserved.
 *
 * Use is subject to license terms, as defined in
 * Anvil Sofware License, Version 1.1. See LICENSE 
 * file, or http://njet.org/license-1.1.txt
 */
package anvil.script;

import anvil.codec.ConstantPool;
import anvil.core.Any;
import anvil.core.AnyClass;
import anvil.java.util.BindingEnumeration;

/**
 * interface ClassType
 *
 * @author: Jani Lehtimki
 */
public interface ClassType extends Scope
{

  public String getQualifiedName();

  public String getPathinfo();

  public boolean isInstanceOf(Type ofType);

  public ClassRef getBase();
  
  public ClassType getBaseClass();

  public Type lookupInheritedDeclaration(String name);

  public InterfaceRef[] getInterfaces();

  public CompilableFunction getConstructor();

  public int getConstructorReference(ConstantPool pool);
  
  public String getDescriptor();

  public ClassType[] getEnclosingClasses();
  
  public AnyClass newInstance();

  public BindingEnumeration getMembers(AnyClass instance);
  
  public ClassDispatcher getDispatcher(Context context);

}

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.