org.robovm.compiler.clazz.Clazz Maven / Gradle / Ivy
The newest version!
/*
* Copyright (C) 2012 RoboVM AB
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
package org.robovm.compiler.clazz;
import org.apache.commons.io.IOUtils;
import soot.SootClass;
import soot.SootMethod;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
*
* @version $Id$
*/
public abstract class Clazz implements Comparable {
final Clazzes clazzes;
private final String fileName;
private final String className;
private final String internalName;
private final AbstractPath path;
private ClazzInfo clazzInfo = null;
private SootClass sootClass = null;
// added attachments fields as it is required to keep information in build cycle between calls
// as it is not possible to keep it in plugin (due to statement that different operations of plugin
// could happen in different threads
private transient List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy