javabean.vim : Adds property getters and setters
script karma |
Rating 12/6,
Downloaded by 398 |
created by |
Salman Halim |
|
script type |
utility |
|
description |
Given a number of Java properties in a basic format, this will generate the getters and setters for them; for example, given:
String myString
int myInt
you will get:
protected String m_myString;
protected int m_myInt;
public void setMyString( String val )
{
m_myString = val;
}
public String getMyString()
{
return m_myString;
}
public void setMyInt( int val )
{
m_myInt = val;
}
public int getMyInt()
{
return m_myInt;
}
|
|
install details |
Just pop it into your plugin directory. Can set g:javabean_scope or b:javabean_scope if \\'protected\\' isn\\'t what you use. |
|
script versions (upload new version)
Click on the package to download.
|