mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
returned expose annotations
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.jetbrains.edu.courseFormat;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.util.xmlb.annotations.Transient;
|
||||
@@ -18,6 +19,8 @@ public class Task {
|
||||
@Expose
|
||||
private String name;
|
||||
private int myIndex;
|
||||
@Expose
|
||||
@SerializedName("task_files")
|
||||
public Map<String, TaskFile> taskFiles = new HashMap<String, TaskFile>();
|
||||
|
||||
private String text;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.jetbrains.edu.courseFormat;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import com.intellij.openapi.editor.Document;
|
||||
import com.intellij.openapi.editor.LogicalPosition;
|
||||
@@ -17,11 +18,11 @@ import java.util.List;
|
||||
*/
|
||||
|
||||
public class TaskFile {
|
||||
@SerializedName("placeholders")
|
||||
@SerializedName("task_windows")
|
||||
@Expose
|
||||
private List<AnswerPlaceholder> myAnswerPlaceholders = new ArrayList<AnswerPlaceholder>();
|
||||
private int myIndex = -1;
|
||||
|
||||
|
||||
public String name;
|
||||
public String text;
|
||||
@Transient private Task myTask;
|
||||
|
||||
Reference in New Issue
Block a user