{"id":1341,"date":"2011-12-14T12:44:13","date_gmt":"2011-12-14T03:44:13","guid":{"rendered":"http:\/\/www.lancard.com\/blog\/?p=1341"},"modified":"2025-03-12T11:30:35","modified_gmt":"2025-03-12T02:30:35","slug":"eclipse%e3%83%97%e3%83%a9%e3%82%b0%e3%82%a4%e3%83%b3javaeditor%e3%81%b8%e3%81%ae%e6%a9%9f%e8%83%bd%e8%bf%bd%e5%8a%a0","status":"publish","type":"post","link":"https:\/\/www.lancard.com\/blog\/2011\/12\/14\/eclipse%e3%83%97%e3%83%a9%e3%82%b0%e3%82%a4%e3%83%b3javaeditor%e3%81%b8%e3%81%ae%e6%a9%9f%e8%83%bd%e8%bf%bd%e5%8a%a0\/","title":{"rendered":"Eclipse\u30d7\u30e9\u30b0\u30a4\u30f3JavaEditor\u3078\u306e\u6a5f\u80fd\u8ffd\u52a0\u7de8"},"content":{"rendered":"<p>Eclipse\u30d7\u30e9\u30b0\u30a4\u30f3\u306eJavaEditor\u3078\u306e\u6a5f\u80fd\u8ffd\u52a0\u306b\u3064\u3044\u3066\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u30bd\u30fc\u30b9\u3092<br \/>\n\u300c<br \/>\nString aaaa = null;<br \/>\nString b = null;<br \/>\nString ccc = null;<br \/>\n\u300d<br \/>\n\u30a4\u30b3\u30fc\u30eb\u306e\u4f4d\u7f6e\u3067\u6574\u5f62\u3059\u308b\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>1.\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f5c\u6210\u3059\u308b\u3002<br \/>\n\u30001)Eclipse\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u4f5c\u308a\u65b9\u57fa\u672c\u7de8\u3092\u898b\u3066\u3053\u306e\u624b\u9806\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\u3000\u3000\u4eca\u56de\u304b\u3089Activator\u306b\u306f\u3061\u3083\u3093\u3068\u3057\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2011\/12\/img12.png\" alt=\"\u30d1\u30c3\u30b1\u30fc\u30b8\" \/><br \/>\n\u3000\u3000\u4eca\u56de\u306f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u9078\u629e\u3057\u307e\u305b\u3093\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2011\/12\/img21.png\" alt=\"\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u9078\u629e\u3057\u306a\u3044\" \/><\/p>\n<p>2.plugin.xml\u306e\u7de8\u96c6<br \/>\n\u30001)\u62e1\u5f35\u30bf\u30d6\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2011\/12\/eclipsep3.png\" alt=\"\u62e1\u5f35\u30bf\u30d6\" \/><br \/>\n\u30002)\u8ffd\u52a0\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2011\/12\/eclipsep4.png\" alt=\"\u8ffd\u52a0\u30dc\u30bf\u30f3\u3092\u62bc\u3059\" \/><br \/>\n\u30003)\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u30e1\u30cb\u30e5\u30fc\u3068\u3057\u3066\u51fa\u3059\u4e88\u5b9a\u306a\u306e\u3067\u300corg.eclipse.ui.popupMenus\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2011\/12\/eclipsep5.png\" alt=\"\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u30e1\u30cb\u30e5\u30fc\" \/><br \/>\n\u30004)\u300corg.eclipse.ui.popupMenus\u300d\u306e\u4e0a\u3067\u53f3\u30af\u30ea\u30c3\u30af\u3057\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2011\/12\/eclipsep6.png\" alt=\"eclipse\" \/><br \/>\n\u30005)\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5024\u3092\u5165\u529b\u3057\u307e\u3059\u3002<br \/>\n\u3000\u3000JavaEditor\u306eID\u306f\u300c#CompilationUnitEditorContext\u300d\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2011\/12\/eclipsep7.png\" alt=\"eclipse\" \/><br \/>\n\u30006)\u8ffd\u52a0\u3057\u305f\u30e1\u30cb\u30e5\u30fc\u306e\u4e0a\u3067\u53f3\u30af\u30ea\u30c3\u30af\u3057action\u3092\u767b\u9332\u3057\u307e\u3059\u3002<br \/>\n\u3000\u3000\u3053\u308c\u306f\u3053\u306e\u30e1\u30cb\u30e5\u30fc\u3092\u9078\u629e\u3057\u305f\u3068\u304d\u3069\u306eclass\u304c\u5b9f\u884c\u3055\u308c\u308b\u304b\u306a\u3069\u3092\u767b\u9332\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2011\/12\/eclipsep8.png\" alt=\"action\" \/><br \/>\n\u30007)\u8ffd\u52a0\u3057\u305f\u30a2\u30af\u30b7\u30e7\u30f3\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<br \/>\n\u3000\u3000id\u3068class\u306b\u306f\u300ccom.lancard.editor.action.FormatAction\u300d<br \/>\n\u3000\u3000menubarpath\u306b\u306f\u300cadditions\u300d\u3068\u66f8\u304d\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2011\/12\/eclipse101.png\" alt=\"\u30a2\u30af\u30b7\u30e7\u30f3\" \/><\/p>\n<p>2.\u30af\u30e9\u30b9\u306e\u4f5c\u6210<br \/>\n\u30001)\u300ccom.lancard.editor.action.FormatAction\u300d\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2011\/12\/eclipsep11.png\" alt=\"\u30af\u30e9\u30b9\u3092\u4f5c\u6210\" \/><br \/>\n\u30002)\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304d\u307e\u3059\u3002<\/p>\n<pre line=\"1\" lang=\"java\">\r\npackage com.lancard.editor.action;\r\n\r\nimport org.eclipse.jface.action.IAction;\r\nimport org.eclipse.jface.text.BadLocationException;\r\nimport org.eclipse.jface.text.IDocument;\r\nimport org.eclipse.jface.text.ITextSelection;\r\nimport org.eclipse.jface.viewers.ISelection;\r\nimport org.eclipse.jface.viewers.ISelectionProvider;\r\nimport org.eclipse.ui.IEditorActionDelegate;\r\nimport org.eclipse.ui.IEditorPart;\r\nimport org.eclipse.ui.texteditor.IDocumentProvider;\r\nimport org.eclipse.ui.texteditor.ITextEditor;\r\n\r\npublic class FormatAction implements IEditorActionDelegate {\r\nprivate IEditorPart targetEditor = null;\r\npublic void run(IAction action) {\r\nITextEditor textEditor = (ITextEditor)targetEditor;\r\nISelectionProvider selectionProvider = textEditor.getSelectionProvider();\r\nISelection selection = selectionProvider.getSelection();\r\nITextSelection textSelection = (ITextSelection)selection;\r\ntextSelection.getStartLine();\r\ntry{\r\nexecute(textSelection.getStartLine(),textSelection.getEndLine());\r\n}catch(BadLocationException e){\r\n\/\/\u30ed\u30b0\u3068\u304b\u51fa\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u3002\r\n}\r\n}\r\nprivate void execute(int startLine,int endLine) throws BadLocationException {\r\nITextEditor textEditor = (ITextEditor)targetEditor;\r\nIDocumentProvider provider = textEditor.getDocumentProvider();\r\nIDocument document = provider.getDocument(textEditor.getEditorInput());\r\nint maxIndex = 0;\r\nfor(int line=startLine;line<=endLine;line++){\r\nint length = document.getLineLength(line);\r\nint offset = document.getLineOffset(line);\r\nString value = document.get(offset, length);\r\nint equalsIndex = value.indexOf(\"=\");\r\nif(equalsIndex<0){\r\ncontinue;\r\n}\r\nif(equalsIndex>maxIndex){\r\nmaxIndex = equalsIndex;\r\n}\r\n}\r\n\r\nfor(int line=startLine;line<=endLine;line++){\r\nint length = document.getLineLength(line);\r\nint offset = document.getLineOffset(line);\r\nString value = document.get(offset, length);\r\nint equalsIndex = value.indexOf(\"=\");\r\nif(equalsIndex<0){\r\ncontinue;\r\n}\r\nif(equalsIndex<maxIndex){\r\ndocument.replace(offset, length, newValue(value, equalsIndex, maxIndex));\r\n}\r\n}\r\n}\r\nprivate String newValue(String value,int equalsIndex,int maxIndex){\r\nStringBuilder sb = new StringBuilder();\r\nString prev = value.substring(0,equalsIndex);\r\nString next = value.substring(equalsIndex);\r\nsb.append(prev);\r\nfor(int i=equalsIndex;i<maxIndex;i++){\r\nsb.append(\" \");\r\n}\r\nsb.append(next);\r\nreturn sb.toString();\r\n}\r\npublic void selectionChanged(IAction action, ISelection selection) {\r\n}\r\n\r\npublic void setActiveEditor(IAction action, IEditorPart targetEditor) {\r\nthis.targetEditor = targetEditor;\r\n}\r\n}\r\n<\/pre>\n<p>\u30003)\u4e00\u90e8\u898b\u3064\u304b\u3089\u306a\u3044\u30af\u30e9\u30b9\u304c\u51fa\u308b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2011\/12\/eclipsep12.png\" alt=\"\u898b\u3064\u304b\u3089\u306a\u3044\u30af\u30e9\u30b9\" \/><br \/>\n\u30004)plugin.xml\u306b\u4f9d\u5b58\u95a2\u4fc2\u3092\u767b\u9332\u3057\u307e\u3059\u3002<br \/>\n\u3000\u3000\u4f9d\u5b58\u95a2\u4fc2\u306e\u30bf\u30d6\u3092\u958b\u304d\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2011\/12\/eclipsep14.png\" alt=\"\u4f9d\u5b58\u95a2\u4fc2\" \/><br \/>\n\u3000\u3000\u4ee5\u4e0b\u306e\u3088\u3046\u306b\uff12\u3064\u767b\u9332\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2011\/12\/eclipsep13.png\" alt=\"\u767b\u9332\" \/><\/p>\n<p>3.\u5b9f\u884c\u3057\u3066\u307f\u308b<br \/>\n\u30001)\u9069\u5f53\u306bjava\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u307e\u3059\u3002<br \/>\n\u30002)\u30a8\u30c7\u30a3\u30bf\u30fc\u4e0a\u3067\u53f3\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n\u30003)\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30e1\u30cb\u30e5\u30fc\u306b\u6a5f\u80fd\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308c\u3070\u6210\u529f\u3067\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2011\/12\/eclipsep17.png\" alt=\"\u6a5f\u80fd\" \/><\/p>\n<p>4.\u4f7f\u3063\u3066\u307f\u308b<br \/>\n\u30001)\u6574\u5f62\u3059\u308b\u7bc4\u56f2\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2011\/12\/eclipsep18.png\" alt=\"\u4f7f\u3063\u3066\u307f\u308b\" \/><br \/>\n\u30002)\u30e9\u30f3\u30ab\u30fc\u30c9\u30b3\u30e0\u6574\u5f62\u3092\u62bc\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2011\/12\/eclipsep19.png\" alt=\"\u5b9f\u884c\u5f8c\" \/><br \/>\n\u3000\u3000\u6574\u5f62\u3055\u308c\u3066\u3044\u305f\u3089\u6210\u529f\u3067\u3059\u3002<\/p>\n<p>5.\u30d7\u30e9\u30b0\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<br \/>\n\u30001)\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u30a6\u30a3\u30b6\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n\u3000\u3000plugin.xml\u306e\u6982\u8981\u30bf\u30d6\u306e\u53f3\u4e0b\u306e\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2011\/12\/eclipsep15.png\" alt=\"\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u30a6\u30a3\u30b6\u30fc\u30c9\" \/><br \/>\n\u30002)\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u3001\u5b8c\u4e86\u3092\u62bc\u3057\u305f\u3089\u5b8c\u6210\u3067\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2011\/12\/eclipsep16.png\" alt=\"\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\" \/><br \/>\n\u30003)\u3042\u3068\u306f\u89e3\u51cd\u3057\u3066plugin\u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u306b\u3042\u308bjar\u30d5\u30a1\u30a4\u30eb\u3092\u81ea\u5206\u306eEclipse\u306eplugin\u30d5\u30a9\u30eb\u30c0\u306b\u5165\u308c\u305f\u3089<br \/>\n\u3000\u3000\u3042\u306a\u305f\u3060\u3051\u306e\u72ec\u81ea\u6a5f\u80fd\u306e\u8ffd\u52a0\u3055\u308c\u305fEclipse\u3092\u4f7f\u3046\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n<p>6.\u30bd\u30fc\u30b9\u306e\u8aac\u660e<br \/>\n\u3000\u3059\u3054\u304f\u7c21\u5358\u306a\u30bd\u30fc\u30b9\u306a\u306e\u3067\u3001\u8aad\u3081\u3070\u308f\u304b\u308b\u3068\u601d\u3046\u306e\u3067\u4eca\u56de\u306f\u3053\u3053\u307e\u3067\u3067\u3059\u3002<br \/>\n\u3000\u3042\u3068\u3059\u3050\u4f5c\u308a\u305f\u304b\u3063\u305f\u306e\u3067\u9069\u5f53\u306b\u66f8\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u3082\u3046\u3061\u3087\u3063\u3068\u5947\u9e97\u306b\u304b\u3051\u308b\u3068\u3053\u308d\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3067\u3059\u30fb\u30fb\u3002<\/p>\n<a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-facebook nolightbox\" data-provider=\"facebook\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Facebook\" href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F1341&#038;t=Eclipse%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3JavaEditor%E3%81%B8%E3%81%AE%E6%A9%9F%E8%83%BD%E8%BF%BD%E5%8A%A0%E7%B7%A8&#038;s=100&#038;p&#091;url&#093;=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F1341&#038;p&#091;images&#093;&#091;0&#093;=http%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-content%2Fuploads%2F2011%2F12%2Fimg12.png&#038;p&#091;title&#093;=Eclipse%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3JavaEditor%E3%81%B8%E3%81%AE%E6%A9%9F%E8%83%BD%E8%BF%BD%E5%8A%A0%E7%B7%A8\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"Facebook\" title=\"Share on Facebook\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/facebook.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-twitter nolightbox\" data-provider=\"twitter\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Twitter\" href=\"http:\/\/twitter.com\/share?url=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F1341&#038;text=Eclipse%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3JavaEditor%E3%81%B8%E3%81%AE%E6%A9%9F%E8%83%BD%E8%BF%BD%E5%8A%A0%E7%B7%A8\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"twitter\" title=\"Share on Twitter\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/twitter.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-linkedin nolightbox\" data-provider=\"linkedin\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Linkedin\" href=\"https:\/\/www.linkedin.com\/shareArticle?mini=true&#038;url=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F1341&#038;title=Eclipse%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3JavaEditor%E3%81%B8%E3%81%AE%E6%A9%9F%E8%83%BD%E8%BF%BD%E5%8A%A0%E7%B7%A8\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"linkedin\" title=\"Share on Linkedin\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/linkedin.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-tumblr nolightbox\" data-provider=\"tumblr\" target=\"_blank\" rel=\"nofollow\" title=\"Share on tumblr\" href=\"https:\/\/tumblr.com\/share?s=&#038;v=3&#038;t=Eclipse%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3JavaEditor%E3%81%B8%E3%81%AE%E6%A9%9F%E8%83%BD%E8%BF%BD%E5%8A%A0%E7%B7%A8&#038;u=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F1341\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"tumblr\" title=\"Share on tumblr\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/tumblr.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-mail nolightbox\" data-provider=\"mail\" rel=\"nofollow\" title=\"Share by email\" href=\"mailto:?subject=Eclipse%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3JavaEditor%E3%81%B8%E3%81%AE%E6%A9%9F%E8%83%BD%E8%BF%BD%E5%8A%A0%E7%B7%A8&#038;body=%E3%82%B7%E3%82%A7%E3%82%A2%E3%81%99%E3%82%8B%EF%BC%9A:%20https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F1341\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"mail\" title=\"Share by email\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/mail.png\" \/><\/a>","protected":false},"excerpt":{"rendered":"<p>Eclipse\u30d7\u30e9\u30b0\u30a4\u30f3\u306eJavaEditor\u3078\u306e\u6a5f\u80fd\u8ffd\u52a0\u306b\u3064\u3044\u3066\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u3002 \u4eca\u56de\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u30bd\u30fc\u30b9\u3092 \u300c String aaaa = null; String b = null; String ccc  [&hellip;]<\/p>\n","protected":false},"author":21,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[67],"tags":[68],"class_list":["post-1341","post","type-post","status-publish","format-standard","hentry","category-eclipse","tag-eclipse"],"_links":{"self":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/1341","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/comments?post=1341"}],"version-history":[{"count":33,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/1341\/revisions"}],"predecessor-version":[{"id":8262,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/1341\/revisions\/8262"}],"wp:attachment":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/media?parent=1341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/categories?post=1341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/tags?post=1341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}