Authors:
jaypeevoss
opensource software

Accessors Plugin

Products: IntelliJ IDEA

Vendor: Jens Voss

Email: N/A

Website: N/A

SourceCode: Accessors_Plugin_1298.zip

Description:

The Accessor Plugin provides two intention action which can be used to replace direct accesses of a property of a class with a suitable getter or setter method.
Downloads: 4897
Rating:
Participated in rating: 1
Version Since Build Until Build File/URL Size (Kb) Date Details
0.9.2. 69.7000. . Download 14.97 2008-02-11 01:51:25 details
0.9.1. 50.4000. . Download 11.93 2007-01-29 15:06:45 details
. .

Recent change notes:

Version 0.9.2
  • Corrected write-action handling
  • Support for "this" references
Version 0.9.1 (initial release)
  • Replacement of direct access to a property of a class with an appropriate getter or setter method call

Comments:

osbald
2012-08-07 14:28:25
Doesn't appear to work at all in IntelliJ IDEA 11.
.
Anonymous
Rated:
2008-03-10 13:39:09
Regularly see NPEs from Accessors plugin 0.9.2 under IntelliJ IDEA 7.0.2 & Windows XP. Stacktrace as follows:

No message
java.lang.NullPointerException
at de.jpv.accessors.GetterAction.findGetterContext(GetterAction.java:25)
at de.jpv.accessors.GetterAction.findGetter(GetterAction.java:47)
at de.jpv.accessors.GetterAction.isAvailable(GetterAction.java:64)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass
.getActionsToShow(ShowIntentionsPass.java:193)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass
.a(ShowIntentionsPass.java:72)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass
.doApplyInformationToEditor(ShowIntentionsPass.java:174)
at com.intellij.codeHighlighting.TextEditorHighlightingPass
.applyInformationToEditor(TextEditorHighlightingPass.java:65)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$3
.run(PassExecutorService.java:13)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue
.run(LaterInvocator.java:12)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:10)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:188)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)



java.lang.NullPointerException
at de.jpv.accessors.GetterAction.findGetterContext(GetterAction.java:25)
at de.jpv.accessors.GetterAction.findGetter(GetterAction.java:47)
at de.jpv.accessors.GetterAction.isAvailable(GetterAction.java:64)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass
.getActionsToShow(ShowIntentionsPass.java:193)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass
.a(ShowIntentionsPass.java:72)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass
.doApplyInformationToEditor(ShowIntentionsPass.java:174)
at com.intellij.codeHighlighting.TextEditorHighlightingPass
.applyInformationToEditor(TextEditorHighlightingPass.java:65)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$3
.run(PassExecutorService.java:13)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue
.run(LaterInvocator.java:12)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:10)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:188)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
.