author javadoc comments added, finished...

This commit is contained in:
2015-12-12 16:07:05 +01:00
parent ed919b14c3
commit 52c27db229
508 changed files with 2447 additions and 521 deletions
@@ -1,16 +1,16 @@
/*
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
*
*
* This library 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
* Lesser General Public License for more details.
*
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
*/
@@ -25,6 +25,10 @@ import com.jpexs.decompiler.graph.SourceGenerator;
import com.jpexs.decompiler.graph.TypeItem;
import java.util.List;
/**
*
* @author JPEXS
*/
public class AndItem extends BinaryOpItem {
@Override
@@ -26,6 +26,10 @@ import java.util.List;
import java.util.Objects;
import java.util.Set;
/**
*
* @author JPEXS
*/
public abstract class BinaryOpItem extends GraphTargetItem implements BinaryOp {
public GraphTargetItem leftSide;
@@ -30,6 +30,10 @@ import com.jpexs.decompiler.graph.TypeItem;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author JPEXS
*/
public class DoWhileItem extends LoopItem implements Block {
public List<GraphTargetItem> commands;
@@ -30,6 +30,10 @@ import com.jpexs.decompiler.graph.TypeItem;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author JPEXS
*/
public class ForItem extends LoopItem implements Block {
public List<GraphTargetItem> firstCommands;
@@ -28,6 +28,10 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Set;
/**
*
* @author JPEXS
*/
public class IfItem extends GraphTargetItem implements Block {
public GraphTargetItem expression;
@@ -20,6 +20,10 @@ import com.jpexs.decompiler.graph.GraphSourceItem;
import com.jpexs.decompiler.graph.GraphTargetItem;
import com.jpexs.decompiler.graph.Loop;
/**
*
* @author JPEXS
*/
public abstract class LoopItem extends GraphTargetItem {
public Loop loop;
@@ -1,16 +1,16 @@
/*
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
*
*
* This library 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
* Lesser General Public License for more details.
*
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
*/
@@ -25,6 +25,10 @@ import com.jpexs.decompiler.graph.SourceGenerator;
import com.jpexs.decompiler.graph.TypeItem;
import java.util.List;
/**
*
* @author JPEXS
*/
public class OrItem extends BinaryOpItem {
public OrItem(GraphSourceItem src, GraphSourceItem lineStartIns, GraphTargetItem leftSide, GraphTargetItem rightSide) {
@@ -30,6 +30,10 @@ import com.jpexs.decompiler.graph.TypeItem;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author JPEXS
*/
public class SwitchItem extends LoopItem implements Block {
public GraphTargetItem switchedObject;
@@ -24,6 +24,10 @@ import com.jpexs.decompiler.graph.GraphTargetItem;
import com.jpexs.decompiler.graph.SourceGenerator;
import java.util.List;
/**
*
* @author JPEXS
*/
public class TernarOpItem extends GraphTargetItem {
public GraphTargetItem expression;
@@ -23,6 +23,10 @@ import com.jpexs.decompiler.graph.GraphTargetItem;
import java.util.List;
import java.util.Set;
/**
*
* @author JPEXS
*/
public abstract class UnaryOpItem extends GraphTargetItem implements UnaryOp {
public String operator;
@@ -30,6 +30,10 @@ import com.jpexs.decompiler.graph.TypeItem;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author JPEXS
*/
public class WhileItem extends LoopItem implements Block {
public List<GraphTargetItem> expression;