Vim logo vim online Vim Book Ad

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.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
javabean.vim 1.0 18-Jul-2001 6.0 Salman Halim Initial upload

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to [email protected] after searching the archive. Help Bram help Uganda.
SourceForge Logo