mockupgeneratepropertiesconfig.java

来自「Python Development Environment (Python I」· Java 代码 · 共 57 行

JAVA
57
字号
package org.python.pydev.refactoring.tests.codegenerator.generateproperties;

import java.util.ArrayList;

import org.python.pydev.refactoring.ast.adapters.offsetstrategy.IOffsetStrategy;

public class MockupGeneratePropertiesConfig {

	private int classSelection;

	private ArrayList<Integer> attributeSelection;

	private int methodOffsetStrategy;

	private int propertyOffsetStrategy;

	private ArrayList<Integer> methodSelection;

	private int accessModifier;

	public MockupGeneratePropertiesConfig() {
		this.classSelection = 0;
		this.methodOffsetStrategy = IOffsetStrategy.AFTERINIT;
		this.propertyOffsetStrategy = IOffsetStrategy.AFTERINIT;
		this.attributeSelection = new ArrayList<Integer>();
		this.methodSelection = new ArrayList<Integer>();
		attributeSelection.add(0);
		methodSelection.add(0);
		this.accessModifier = 0;
	}

	public ArrayList<Integer> getAttributeSelection() {
		return attributeSelection;
	}

	public int getClassSelection() {
		return classSelection;
	}

	public int getMethodOffsetStrategy() {
		return methodOffsetStrategy;
	}

	public ArrayList<Integer> getMethodSelection() {
		return methodSelection;
	}

	public int getPropertyOffsetStrategy() {
		return propertyOffsetStrategy;
	}

	public int getAccessModifier() {
		return accessModifier;
	}

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?