All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.mat.snapshot.model.IInstance Maven / Gradle / Ivy

There is a newer version: 2.1
Show newest version
/**
 * ****************************************************************************
 * Copyright (c) 2008 SAP AG.
 * 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:
 * SAP AG - initial API and implementation
 * *****************************************************************************
 */
package org.eclipse.mat.snapshot.model;

import java.util.List;

/**
 * Interface for a plain vanilla object instance in the heap dump.
 *
 * @noimplement
 */
public interface IInstance extends IObject {
  /**
   * Returns all fields of the object.
   * 

* Fields are ordered in such a way, that first fields defined in the * current class and then fields of the super class and its super classes * are returned. This order is important to know, if a class declares a * field by the same name as the class it inherits from. */ public List getFields(); /** * Returns the field identified by the name. *

* If declares a member variable by the same name as the parent class does, * then the result of this method is undefined. */ public Field getField(String name); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy